summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.sh.in
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-02-03 01:41:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-02-03 01:41:51 (GMT)
commit348c380e3f17e3a7e221780b5daba18427cc7bea (patch)
treea372972298ba256e2bd4514854109fe2d8d56a21 /tools/h5repack/h5repack.sh.in
parent1528a6ad07947e31d7c8536911a82c2d1d6aa6c0 (diff)
downloadhdf5-348c380e3f17e3a7e221780b5daba18427cc7bea.zip
hdf5-348c380e3f17e3a7e221780b5daba18427cc7bea.tar.gz
hdf5-348c380e3f17e3a7e221780b5daba18427cc7bea.tar.bz2
[svn-r16401] Description:
Correct error introduced in r16353 with layout version, and add test so it gets caught earlier. Tested on: FreeBSD/32 6.3 (duty) Too minor to require h5committest
Diffstat (limited to 'tools/h5repack/h5repack.sh.in')
-rwxr-xr-xtools/h5repack/h5repack.sh.in5
1 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."