summaryrefslogtreecommitdiffstats
path: root/tools/test/h5diff/testh5diff.sh.in
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-07-25 20:15:20 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-07-25 20:15:20 (GMT)
commite790a0b42d0552081b6138552ef3955760894e5b (patch)
tree518ca6173b8cff0643d500e6051bdd5043a3a1ef /tools/test/h5diff/testh5diff.sh.in
parentf5317e17a85a196914fb89135d197bbf16a3550a (diff)
downloadhdf5-e790a0b42d0552081b6138552ef3955760894e5b.zip
hdf5-e790a0b42d0552081b6138552ef3955760894e5b.tar.gz
hdf5-e790a0b42d0552081b6138552ef3955760894e5b.tar.bz2
HDFFV-10246 Add check for string not null before use
Diffstat (limited to 'tools/test/h5diff/testh5diff.sh.in')
-rw-r--r--tools/test/h5diff/testh5diff.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/test/h5diff/testh5diff.sh.in b/tools/test/h5diff/testh5diff.sh.in
index d769c23..3450d30 100644
--- a/tools/test/h5diff/testh5diff.sh.in
+++ b/tools/test/h5diff/testh5diff.sh.in
@@ -124,6 +124,7 @@ $SRC_H5DIFF_TESTFILES/tmpSingleSiteBethe.reference.h5
$SRC_H5DIFF_TESTFILES/tmpSingleSiteBethe.output.h5
$SRC_H5DIFF_TESTFILES/diff_strings1.h5
$SRC_H5DIFF_TESTFILES/diff_strings2.h5
+$SRC_TOOLS_TESTFILES/tvlstr.h5
"
LIST_HDF5_VDS_TEST_FILES="
@@ -341,6 +342,7 @@ $SRC_H5DIFF_TESTFILES/h5diff_tmp2.txt
$SRC_H5DIFF_TESTFILES/h5diff_v1.txt
$SRC_H5DIFF_TESTFILES/h5diff_v2.txt
$SRC_H5DIFF_TESTFILES/h5diff_v3.txt
+$SRC_H5DIFF_TESTFILES/h5diff_vlstr.txt
"
#
@@ -566,6 +568,8 @@ SKIP() {
##############################################################################
# prepare for test
COPY_TESTFILES_TO_TESTDIR
+# second copy of tvlstr.h5
+$CP -f $SRC_TOOLS_TESTFILES/tvlstr.h5 $TESTDIR/tvlstr.h5
# ############################################################################
# # Common usage
@@ -1141,6 +1145,7 @@ TOOLTEST h5diff_487.txt -v --exclude-path "/group1/dset" h5diff_exclude3-1.h5 h5
# # diff various multiple vlen and fixed strings in a compound type dataset
# ##############################################################################
TOOLTEST h5diff_530.txt -v h5diff_comp_vl_strs.h5 h5diff_comp_vl_strs.h5 /group /group_copy
+TOOLTEST h5diff_vlstr.txt -v tvlstr.h5 tvlstr2.h5
# ##############################################################################
# # Test container types (array,vlen) with multiple nested compound types