summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-02-03 12:11:07 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-02-03 12:11:07 (GMT)
commit5436f45bd11f2867b3c9e93b976df427a0ffb10e (patch)
tree96b05a07633ee3907ef02e2390663be4adc15f2a /tools
parentcde7807ceb3cd66bf60d9b6d87570f4f8422cbce (diff)
downloadhdf5-5436f45bd11f2867b3c9e93b976df427a0ffb10e.zip
hdf5-5436f45bd11f2867b3c9e93b976df427a0ffb10e.tar.gz
hdf5-5436f45bd11f2867b3c9e93b976df427a0ffb10e.tar.bz2
[svn-r16403] Description:
Bring r16395:16402 back from trunk (and adjust slightly for layout version changes). Tested on: FreeBSD/32 6.3 (duty) (h5committest not required on this branch)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/h5repack/h5repack.sh.in5
-rw-r--r--tools/h5repack/testfiles/h5repack_layouto.h5bin0 -> 1576 bytes
2 files changed, 5 insertions, 0 deletions
diff --git a/tools/h5repack/h5repack.sh.in b/tools/h5repack/h5repack.sh.in
index 422c8dd..ba3bdfe 100755
--- a/tools/h5repack/h5repack.sh.in
+++ b/tools/h5repack/h5repack.sh.in
@@ -51,6 +51,8 @@ FILE10=h5repack_fletcher.h5
FILE11=h5repack_filters.h5
FILE12=h5repack_nbit.h5
FILE13=h5repack_soffset.h5
+FILE14=h5repack_layouto.h5 # A file with an older version of the layout message
+ # (copy of test/tlayouto.h5)
nerrors=0
@@ -498,6 +500,9 @@ TOOLTEST $arg
arg="$FILE1 -t 1 -a 1 "
TOOLTEST $arg
+# Check repacking file with old version of layout message (should get upgraded
+# to new version and be readable, etc.)
+TOOLTEST $FILE14
if test $nerrors -eq 0 ; then
echo "All $H5REPACK tests passed."
diff --git a/tools/h5repack/testfiles/h5repack_layouto.h5 b/tools/h5repack/testfiles/h5repack_layouto.h5
new file mode 100644
index 0000000..a038e68
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_layouto.h5
Binary files differ