summaryrefslogtreecommitdiffstats
path: root/tools/test
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-08-27 17:36:03 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-08-27 17:36:03 (GMT)
commit3d7a0dc6d5dcf6f4989287fa1138507099ef71c0 (patch)
tree03a693fb2b216bdfef01d79bb3cfd8ee83457f0d /tools/test
parentf4d03432a4f6392caa5948e88a851a532626d255 (diff)
parenta38a286be16b0162c28b2a3fe30234f9b9449df8 (diff)
downloadhdf5-3d7a0dc6d5dcf6f4989287fa1138507099ef71c0.zip
hdf5-3d7a0dc6d5dcf6f4989287fa1138507099ef71c0.tar.gz
hdf5-3d7a0dc6d5dcf6f4989287fa1138507099ef71c0.tar.bz2
Merge branch 'develop' into develop_minor
Diffstat (limited to 'tools/test')
-rw-r--r--tools/test/h5repack/h5repack.sh.in20
-rw-r--r--tools/test/misc/testfiles/h5mkgrp_version.txt.in2
2 files changed, 21 insertions, 1 deletions
diff --git a/tools/test/h5repack/h5repack.sh.in b/tools/test/h5repack/h5repack.sh.in
index 02f515c..18e6d86 100644
--- a/tools/test/h5repack/h5repack.sh.in
+++ b/tools/test/h5repack/h5repack.sh.in
@@ -678,6 +678,26 @@ VERIFY_INVALIDBOUNDS()
} # end of VERIFY_INVALIDBOUNDS
# -----------------------------------------------------------------------------
+# Expect h5diff to fail
+# Use only by VERIFY_EXTERNAL_CONSOLIDATION
+# -----------------------------------------------------------------------------
+DIFFFAIL()
+{
+ VERIFY h5diff unequal $@
+ (
+ cd $TESTDIR
+ $RUNSERIAL $H5DIFF_BIN -q "$@"
+ )
+ RET=$?
+ if [ $RET == 0 ] ; then
+ echo "*FAILED*"
+ nerrors="`expr $nerrors + 1`"
+ else
+ echo " PASSED"
+ fi
+}
+
+# -----------------------------------------------------------------------------
# Catchall test for repacking with external files
# Loops over all (internally-listed) cases and applies the given arguments
# to h5repack.
diff --git a/tools/test/misc/testfiles/h5mkgrp_version.txt.in b/tools/test/misc/testfiles/h5mkgrp_version.txt.in
index 75c13a5..37dbabd 100644
--- a/tools/test/misc/testfiles/h5mkgrp_version.txt.in
+++ b/tools/test/misc/testfiles/h5mkgrp_version.txt.in
@@ -1 +1 @@
-h5mkgrp: Version @HDF5_PACKAGE_VERSION_STRING@
+h5mkgrp: Version @HDF5_RELEASE_VERSION_STRING@