summaryrefslogtreecommitdiffstats
path: root/tools/h5diff
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-03-20 19:39:46 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-03-20 19:39:46 (GMT)
commita2f9ebb3ab3228563835681a19cdd88fc095b2ff (patch)
tree2e84e4ae207942f0636600d5c55ed538ea02f4f9 /tools/h5diff
parentebc9e3981b73686ef95ac7cf3660c89a4d5d8faa (diff)
downloadhdf5-a2f9ebb3ab3228563835681a19cdd88fc095b2ff.zip
hdf5-a2f9ebb3ab3228563835681a19cdd88fc095b2ff.tar.gz
hdf5-a2f9ebb3ab3228563835681a19cdd88fc095b2ff.tar.bz2
[svn-r12124] Purpose:
bug fix Description: 1) the compare flag test was not being put in a correct place, making comparisons attempts that were not supposed to be done 2) some duplicate warnings were being made Solution: eliminate the duplicate warnings, put the if compare flag on the correct place Platforms tested: linux 32, 64 solaris Misc. update:
Diffstat (limited to 'tools/h5diff')
-rw-r--r--tools/h5diff/testh5diff_basic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5diff/testh5diff_basic.c b/tools/h5diff/testh5diff_basic.c
index 4036f29..389744d 100644
--- a/tools/h5diff/testh5diff_basic.c
+++ b/tools/h5diff/testh5diff_basic.c
@@ -272,8 +272,8 @@ int test_basic(const char *file1, const char *file2)
write_dset(group2_id,2,dims,"dset1",H5T_NATIVE_DOUBLE,data2);
/* integer relative */
- write_dset(group1_id,2,dims,"dset2",H5T_NATIVE_INT,data5);
- write_dset(group1_id,2,dims,"dset4",H5T_NATIVE_INT,data6);
+ write_dset(group1_id,2,dims,"dset5",H5T_NATIVE_INT,data5);
+ write_dset(group1_id,2,dims,"dset6",H5T_NATIVE_INT,data6);
/*-------------------------------------------------------------------------
* Close