diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-04-04 19:42:26 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-04-04 19:42:26 (GMT) |
commit | 3bd39f60e05d1c3ec3e0e7d5e1c14b171156f14b (patch) | |
tree | 81189a332456cfa19390e02c83800c7c9794f732 /tools/h5diff | |
parent | d6f94bf8bdfe2848a5531c6f0ee175310b27494b (diff) | |
download | hdf5-3bd39f60e05d1c3ec3e0e7d5e1c14b171156f14b.zip hdf5-3bd39f60e05d1c3ec3e0e7d5e1c14b171156f14b.tar.gz hdf5-3bd39f60e05d1c3ec3e0e7d5e1c14b171156f14b.tar.bz2 |
[svn-r6588] Purpose:
added more tests to automatic testing
Description:
added test for an invalid option letter
added test for -h option
added test for an invalid option -d
added test for an invalid option -d number
Solution:
Platforms tested:
linux, solaris, sgi
Misc. update:
Diffstat (limited to 'tools/h5diff')
-rwxr-xr-x | tools/h5diff/testh5diff.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh index 579455d..6ffac1d 100755 --- a/tools/h5diff/testh5diff.sh +++ b/tools/h5diff/testh5diff.sh @@ -96,6 +96,19 @@ TOOLTEST h5diff_1.txt h5diff_test1.h5 # test2: Check for invalid options TOOLTEST h5diff_2.txt -x h5diff_test1.h5 h5diff_test2.h5 +# test3: Check for -h option +TOOLTEST h5diff_3.txt -h h5diff_test1.h5 h5diff_test2.h5 + +# test4: Check for invalid -d options +TOOLTEST h5diff_4.txt -d h5diff_test1.h5 h5diff_test2.h5 + +# test5: Check for invalid -d options +TOOLTEST h5diff_5.txt -d -4 h5diff_test1.h5 h5diff_test2.h5 + + + + + if test $nerrors -eq 0 ; then echo "All $H5DIFF tests passed." fi |