summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/h5diff_10.txt
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-11-19 19:38:34 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-11-19 19:38:34 (GMT)
commit78898b38c0c8e33a6b9f3af95a7d706ae8c54dcd (patch)
tree981d95ee00ec3b4c0a5d0f3c9a86e99e6d8bac48 /tools/testfiles/h5diff_10.txt
parentf0e99ad5d034d7a453b77d37e7a8495ab2f3cc23 (diff)
downloadhdf5-78898b38c0c8e33a6b9f3af95a7d706ae8c54dcd.zip
hdf5-78898b38c0c8e33a6b9f3af95a7d706ae8c54dcd.tar.gz
hdf5-78898b38c0c8e33a6b9f3af95a7d706ae8c54dcd.tar.bz2
[svn-r14267] enhancement: formatted h5diff usage
tested: linux
Diffstat (limited to 'tools/testfiles/h5diff_10.txt')
-rw-r--r--tools/testfiles/h5diff_10.txt41
1 files changed, 25 insertions, 16 deletions
diff --git a/tools/testfiles/h5diff_10.txt b/tools/testfiles/h5diff_10.txt
index cc20357..6a6dbae 100644
--- a/tools/testfiles/h5diff_10.txt
+++ b/tools/testfiles/h5diff_10.txt
@@ -20,30 +20,39 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[obj2]]
D - is a positive number. Compare criteria is |a - b| > D
R - is a positive number. Compare criteria is |(b-a)/a| > R
-h5diff has four modes of output:
- Normal mode: print the number of differences found and where they occured
- Report mode: print the above plus the differences
- Verbose mode: print the above plus a list of objects and warnings
- Quiet mode: do not print output (h5diff always returns an exit code of 1 when differences are found)
+ Modes of output:
-Examples of use:
+ Default mode: print the number of differences found and where they occured
+ -r Report mode: print the above plus the differences
+ -v Verbose mode: print the above plus a list of objects and warnings
+ -q Quiet mode: do not print output
-1) h5diff file1 file2 /g1/dset1 /g1/dset2
+ Return exit code:
- Compares object '/g1/dset1' in file1 with '/g1/dset2' in file2
+ 1 if differences found, 0 if no differences, -1 if error
-2) h5diff file1 file2 /g1/dset1
+ Examples of use:
- Compares object '/g1/dset1' in both files
+ 1) h5diff file1 file2 /g1/dset1 /g1/dset2
-3) h5diff file1 file2
+ Compares object '/g1/dset1' in file1 with '/g1/dset2' in file2
- Compares all objects in both files
+ 2) h5diff file1 file2 /g1/dset1
-Note) file1 and file2 can be the same file. Use
+ Compares object '/g1/dset1' in both files
- h5diff file1 file1 /g1/dset1 /g1/dset2
+ 3) h5diff file1 file2
- to compare '/g1/dset1' and '/g1/dset2' in the same file
+ Compares all objects in both files
-If no objects are specified, h5diff only compares objects with the same absolute path in both files. The compare criteria is: 1) datasets: numerical array differences 2) groups: name string difference 3) datatypes: the return value of H5Tequal 2) links: name string difference of the linked value
+ Note) file1 and file2 can be the same file. Use
+
+ h5diff file1 file1 /g1/dset1 /g1/dset2
+
+ to compare '/g1/dset1' and '/g1/dset2' in the same file
+
+ If no objects [obj1[obj2]] are specified, h5diff only compares objects
+ with the same absolute path in both files. The compare criteria is:
+ 1) datasets: numerical array differences 2) groups: name string difference
+ 3) datatypes: the return value of H5Tequal 2) links: name string difference
+ of the linked value