summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-04-04 19:42:26 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-04-04 19:42:26 (GMT)
commit3bd39f60e05d1c3ec3e0e7d5e1c14b171156f14b (patch)
tree81189a332456cfa19390e02c83800c7c9794f732 /tools/testfiles
parentd6f94bf8bdfe2848a5531c6f0ee175310b27494b (diff)
downloadhdf5-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/testfiles')
-rw-r--r--tools/testfiles/h5diff_2.txt18
-rw-r--r--tools/testfiles/h5diff_3.txt17
-rw-r--r--tools/testfiles/h5diff_4.txt18
-rw-r--r--tools/testfiles/h5diff_5.txt18
4 files changed, 71 insertions, 0 deletions
diff --git a/tools/testfiles/h5diff_2.txt b/tools/testfiles/h5diff_2.txt
new file mode 100644
index 0000000..1a55807
--- /dev/null
+++ b/tools/testfiles/h5diff_2.txt
@@ -0,0 +1,18 @@
+#############################
+Expected output for 'h5diff -x h5diff_test1.h5 h5diff_test2.h5'
+#############################
+-x is an invalid option
+h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relativet] FILE1_NAME FILE2_NAME
+
+ [OBJ1_NAME] Name of an HDF5 object
+ [OBJ2_NAME] Name of an HDF5 object
+ [-h ] Print a basic help message (this message)
+ [-l ] List contents of file
+ [-r ] Print only what objects differ
+ [-n count] Print difference up to count number for each variable
+ [-d delta] Print difference when it is greater than limit delta
+ [-p relative] Print differences which are within a relative error value
+ FILE1_NAME File name of the first HDF5 file
+ FILE2_NAME File name of the second HDF5 file
+
+Items in [ ] are optional
diff --git a/tools/testfiles/h5diff_3.txt b/tools/testfiles/h5diff_3.txt
new file mode 100644
index 0000000..35fcf8b
--- /dev/null
+++ b/tools/testfiles/h5diff_3.txt
@@ -0,0 +1,17 @@
+#############################
+Expected output for 'h5diff -h h5diff_test1.h5 h5diff_test2.h5'
+#############################
+h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relativet] FILE1_NAME FILE2_NAME
+
+ [OBJ1_NAME] Name of an HDF5 object
+ [OBJ2_NAME] Name of an HDF5 object
+ [-h ] Print a basic help message (this message)
+ [-l ] List contents of file
+ [-r ] Print only what objects differ
+ [-n count] Print difference up to count number for each variable
+ [-d delta] Print difference when it is greater than limit delta
+ [-p relative] Print differences which are within a relative error value
+ FILE1_NAME File name of the first HDF5 file
+ FILE2_NAME File name of the second HDF5 file
+
+Items in [ ] are optional
diff --git a/tools/testfiles/h5diff_4.txt b/tools/testfiles/h5diff_4.txt
new file mode 100644
index 0000000..db8cd04
--- /dev/null
+++ b/tools/testfiles/h5diff_4.txt
@@ -0,0 +1,18 @@
+#############################
+Expected output for 'h5diff -d h5diff_test1.h5 h5diff_test2.h5'
+#############################
+<-d h5diff_test1.h5> is not a valid option
+h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relativet] FILE1_NAME FILE2_NAME
+
+ [OBJ1_NAME] Name of an HDF5 object
+ [OBJ2_NAME] Name of an HDF5 object
+ [-h ] Print a basic help message (this message)
+ [-l ] List contents of file
+ [-r ] Print only what objects differ
+ [-n count] Print difference up to count number for each variable
+ [-d delta] Print difference when it is greater than limit delta
+ [-p relative] Print differences which are within a relative error value
+ FILE1_NAME File name of the first HDF5 file
+ FILE2_NAME File name of the second HDF5 file
+
+Items in [ ] are optional
diff --git a/tools/testfiles/h5diff_5.txt b/tools/testfiles/h5diff_5.txt
new file mode 100644
index 0000000..b150802
--- /dev/null
+++ b/tools/testfiles/h5diff_5.txt
@@ -0,0 +1,18 @@
+#############################
+Expected output for 'h5diff -d -4 h5diff_test1.h5 h5diff_test2.h5'
+#############################
+<-d -4> is not a valid option
+h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relativet] FILE1_NAME FILE2_NAME
+
+ [OBJ1_NAME] Name of an HDF5 object
+ [OBJ2_NAME] Name of an HDF5 object
+ [-h ] Print a basic help message (this message)
+ [-l ] List contents of file
+ [-r ] Print only what objects differ
+ [-n count] Print difference up to count number for each variable
+ [-d delta] Print difference when it is greater than limit delta
+ [-p relative] Print differences which are within a relative error value
+ FILE1_NAME File name of the first HDF5 file
+ FILE2_NAME File name of the second HDF5 file
+
+Items in [ ] are optional