diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2010-01-21 18:55:01 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2010-01-21 18:55:01 (GMT) |
commit | fb90eecb4ed6a0527f38589130de9c902784b0c5 (patch) | |
tree | 9434fb43027951f10405412dc5eef92865b24df1 /tools | |
parent | 3026e03ffe1a9fbd117a2d03fb7259a5a3e3ce8b (diff) | |
download | hdf5-fb90eecb4ed6a0527f38589130de9c902784b0c5.zip hdf5-fb90eecb4ed6a0527f38589130de9c902784b0c5.tar.gz hdf5-fb90eecb4ed6a0527f38589130de9c902784b0c5.tar.bz2 |
[svn-r18130] Purpose:
Add test case relate to bug1749. Also corrected command echo line which
is not match with actual test.
Tested on Jam.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/h5diff/testfiles/h5diff_300.txt | 2 | ||||
-rwxr-xr-x | tools/h5diff/testfiles/h5diff_links.h5 | bin | 0 -> 2536 bytes | |||
-rwxr-xr-x | tools/h5diff/testh5diff.sh | 13 |
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 Binary files differnew file mode 100755 index 0000000..8af66a6 --- /dev/null +++ b/tools/h5diff/testfiles/h5diff_links.h5 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 + # ############################################################################## |