summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-03-15 18:08:47 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-03-15 18:08:47 (GMT)
commite7fd69d4e585880979f9124ad67d5efdfc7ee05c (patch)
tree146048611f062f939dbd4daad5e623154e9fa36b /tools/lib
parenta2a98a8135c3efee38b04b1d07e4602cdff1f1ef (diff)
downloadhdf5-e7fd69d4e585880979f9124ad67d5efdfc7ee05c.zip
hdf5-e7fd69d4e585880979f9124ad67d5efdfc7ee05c.tar.gz
hdf5-e7fd69d4e585880979f9124ad67d5efdfc7ee05c.tar.bz2
[svn-r12092] Purpose:
bug fix, new features Description: when comparing links , the output for the number of differences found was not being done Solution: print it add 3 more tests that test the output of differences for 1) groups 2) datatypes 3) links Platforms tested: linux Misc. update:
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5diff.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index b61cc60..3322d99 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -1055,7 +1055,11 @@ diff (hid_t file1_id,
nfound = (ret != 0) ? 1 : 0;
if (print_objname (options, nfound))
- parallel_print("Soft Link: <%s> and <%s>\n", path1, path2);
+ parallel_print("Soft Link: <%s> and <%s>\n", path1, path2);
+
+ /* always print the number of differences found in verbose mode */
+ if (options->m_verbose)
+ print_found(nfound);
HDfree (buf1);
HDfree (buf2);