[svn-r11607] Purpose:

new h5diff test

Description:
added a test to the test h5diff script that compares a file to itself.
this test is done to test some features of the library that
open the same file and the root group twice

Solution:

Platforms tested:
linux
solaris

Misc. update:
This commit is contained in:
Pedro Vicente Nunes 2005-10-26 09:27:11 -05:00
parent a9a59d8f1d
commit 60ef06bdf6
3 changed files with 11 additions and 3 deletions

View File

@ -1205,6 +1205,7 @@
./tools/testfiles/h5diff_629.txt
./tools/testfiles/h5diff_70.txt
./tools/testfiles/h5diff_80.txt
./tools/testfiles/h5diff_90.txt
#test files for h5repack
./tools/testfiles/test0.h5

View File

@ -19,6 +19,8 @@
# Added the SKIP feature.
# Albert Cheng, 2005/2/3
# Added -p option for parallel h5diff tests.
# Pedro Vicente Nunes, 10/25/2005
# Added test #9
H5DIFF=h5diff # The tool name
H5DIFF_BIN=`pwd`/$H5DIFF # The path of the tool binary
@ -408,24 +410,26 @@ TOOLTEST h5diff_627.txt file1.h5 file2.h5 -n 200 g1/dset3 g1/dset4
TOOLTEST h5diff_628.txt file1.h5 file2.h5 -n 1 g1/dset3 g1/dset4
# ##############################################################################
# # non valid files
# 6.29 non valid files
# ##############################################################################
TOOLTEST h5diff_629.txt file1.h6 file2.h6
# ##############################################################################
# # attributes
# 7. attributes
# ##############################################################################
TOOLTEST h5diff_70.txt file5.h5 file6.h5 -v
# ##############################################################################
# # all dataset datatypes
# 8. all dataset datatypes
# ##############################################################################
TOOLTEST h5diff_80.txt file7.h5 file8.h5 -v
# 9. compare a file with itself
TOOLTEST h5diff_90.txt file1.h5 file1.h5

View File

@ -0,0 +1,3 @@
#############################
Expected output for 'h5diff file1.h5 file1.h5'
#############################