summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2010-01-21 18:42:30 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2010-01-21 18:42:30 (GMT)
commit7ce1b99a7cdf5b825458a1fc149d8f1837cdf5c2 (patch)
tree2b64edb22063deb37fa950d9304daa1f8f6bf722 /tools
parenta988519ad03544cdb0c0f3984fb7c911ce49ad56 (diff)
downloadhdf5-7ce1b99a7cdf5b825458a1fc149d8f1837cdf5c2.zip
hdf5-7ce1b99a7cdf5b825458a1fc149d8f1837cdf5c2.tar.gz
hdf5-7ce1b99a7cdf5b825458a1fc149d8f1837cdf5c2.tar.bz2
[svn-r18129] Purpose:
Add test case relate to bug1749. Also corrected command echo lines which don't match with actual tests. Tested on Jam.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/h5diff/testfiles/h5diff_300.txt2
-rwxr-xr-xtools/h5diff/testfiles/h5diff_links.h5bin0 -> 2536 bytes
-rwxr-xr-xtools/h5diff/testh5diff.sh13
3 files changed, 13 insertions, 2 deletions
diff --git a/tools/h5diff/testfiles/h5diff_300.txt b/tools/h5diff/testfiles/h5diff_300.txt
new file mode 100755
index 0000000..0cfc01b
--- /dev/null
+++ b/tools/h5diff/testfiles/h5diff_300.txt
@@ -0,0 +1,2 @@
+link : </link_g1> and </link_g2>
+1 differences found
diff --git a/tools/h5diff/testfiles/h5diff_links.h5 b/tools/h5diff/testfiles/h5diff_links.h5
new file mode 100755
index 0000000..8af66a6
--- /dev/null
+++ b/tools/h5diff/testfiles/h5diff_links.h5
Binary files differ
diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh
index f95e260..c5bfdc9 100755
--- a/tools/h5diff/testh5diff.sh
+++ b/tools/h5diff/testh5diff.sh
@@ -42,6 +42,7 @@ SRCFILE8=h5diff_dset2.h5
SRCFILE9=h5diff_hyper1.h5
SRCFILE10=h5diff_hyper2.h5
SRCFILE11=h5diff_empty.h5
+SRCFILE12=h5diff_links.h5
FILE1="$INDIR/$SRCFILE1"
FILE2="$INDIR/$SRCFILE2"
@@ -54,6 +55,7 @@ FILE8="$INDIR/$SRCFILE8"
FILE9="$INDIR/$SRCFILE9"
FILE10="$INDIR/$SRCFILE10"
FILE11="$INDIR/$SRCFILE11"
+FILE12="$INDIR/$SRCFILE12"
TESTNAME=h5diff
@@ -326,11 +328,11 @@ TESTING $H5DIFF -v $SRCFILE1 $SRCFILE2
TOOLTEST h5diff_17.txt -v $FILE1 $FILE2
# 1.8 test 32-bit INFINITY
-TESTING $H5DIFF $SRCFILE1 $SRCFILE1 /g1/fp19
+TESTING $H5DIFF -v $SRCFILE1 $SRCFILE1 /g1/fp19
TOOLTEST h5diff_171.txt -v $SRCFILE1 $SRCFILE1 /g1/fp19
# 1.8 test 64-bit INFINITY
-TESTING $H5DIFF $SRCFILE1 $SRCFILE1 /g1/fp20
+TESTING $H5DIFF -v $SRCFILE1 $SRCFILE1 /g1/fp20
TOOLTEST h5diff_172.txt -v $SRCFILE1 $SRCFILE1 /g1/fp20
# 1.8 quiet mode
@@ -614,6 +616,13 @@ TESTING $H5DIFF -c $SRCFILE2 $SRCFILE2 g2/dset8 g2/dset9
TOOLTEST h5diff_207.txt -c $FILE2 $FILE2 g2/dset8 g2/dset9
+# ##############################################################################
+# # Links
+# ##############################################################################
+# test for bug1749
+TESTING $H5DIFF -v $SRCFILE12 $SRCFILE12 /link_g1 /link_g2
+TOOLTEST h5diff_300.txt -v $FILE12 $FILE12 /link_g1 /link_g2
+
# ##############################################################################