summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-05-29 21:53:46 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-05-29 21:53:46 (GMT)
commit4eb8aa7d83874005717867ffc8374daa1ad0423b (patch)
treede4824e31a0db06f55a7a04824792b5f52da8669 /tools/testfiles
parentf632b5dc37ff600fb29a00d292c5350364ad9244 (diff)
downloadhdf5-4eb8aa7d83874005717867ffc8374daa1ad0423b.zip
hdf5-4eb8aa7d83874005717867ffc8374daa1ad0423b.tar.gz
hdf5-4eb8aa7d83874005717867ffc8374daa1ad0423b.tar.bz2
[svn-r6925] Purpose:
bug fix Description: the signed / unsigned comparison was not properly handled. the fixtype function sets the sign for the memory type the same sign as found on disk and the array_diff function only handled signed cases Solution: addded for each INTEGER size type an OR condition with the unsigned version if the datatypes have different signs , comparison is NOT supported Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/file1.h5bin6240 -> 6240 bytes
-rw-r--r--tools/testfiles/file2.h5bin6288 -> 6288 bytes
-rw-r--r--tools/testfiles/file3.h5bin4352 -> 4352 bytes
-rw-r--r--tools/testfiles/file4.h5bin4352 -> 4352 bytes
-rw-r--r--tools/testfiles/file5.h5bin2936 -> 2936 bytes
-rw-r--r--tools/testfiles/file6.h5bin8016 -> 9432 bytes
-rw-r--r--tools/testfiles/h5diff_16.txt16
-rw-r--r--tools/testfiles/h5diff_57.txt11
8 files changed, 27 insertions, 0 deletions
diff --git a/tools/testfiles/file1.h5 b/tools/testfiles/file1.h5
index e6f2863..f8e68b5 100644
--- a/tools/testfiles/file1.h5
+++ b/tools/testfiles/file1.h5
Binary files differ
diff --git a/tools/testfiles/file2.h5 b/tools/testfiles/file2.h5
index 4db567a..0c7c71a 100644
--- a/tools/testfiles/file2.h5
+++ b/tools/testfiles/file2.h5
Binary files differ
diff --git a/tools/testfiles/file3.h5 b/tools/testfiles/file3.h5
index 2586dd2..bf23130 100644
--- a/tools/testfiles/file3.h5
+++ b/tools/testfiles/file3.h5
Binary files differ
diff --git a/tools/testfiles/file4.h5 b/tools/testfiles/file4.h5
index 64a5c35..e79ab78 100644
--- a/tools/testfiles/file4.h5
+++ b/tools/testfiles/file4.h5
Binary files differ
diff --git a/tools/testfiles/file5.h5 b/tools/testfiles/file5.h5
index 57bd916..0ac661e 100644
--- a/tools/testfiles/file5.h5
+++ b/tools/testfiles/file5.h5
Binary files differ
diff --git a/tools/testfiles/file6.h5 b/tools/testfiles/file6.h5
index 473ab3e..ec6768d 100644
--- a/tools/testfiles/file6.h5
+++ b/tools/testfiles/file6.h5
Binary files differ
diff --git a/tools/testfiles/h5diff_16.txt b/tools/testfiles/h5diff_16.txt
index 45c9302..288fb65 100644
--- a/tools/testfiles/h5diff_16.txt
+++ b/tools/testfiles/h5diff_16.txt
@@ -18,6 +18,10 @@ file1 file2
x x /dset5b
x x /dset6a
x x /dset6b
+ x x /dset7a
+ x x /dset7b
+ x x /dset8a
+ x x /dset8b
Comparing </dset0a> with </dset0a>
0 differences found
@@ -61,4 +65,16 @@ Comparing </dset6a> with </dset6a>
Comparing </dset6b> with </dset6b>
0 differences found
+Comparing </dset7a> with </dset7a>
+0 differences found
+
+Comparing </dset7b> with </dset7b>
+0 differences found
+
+Comparing </dset8a> with </dset8a>
+0 differences found
+
+Comparing </dset8b> with </dset8b>
+0 differences found
+
diff --git a/tools/testfiles/h5diff_57.txt b/tools/testfiles/h5diff_57.txt
new file mode 100644
index 0000000..783621b
--- /dev/null
+++ b/tools/testfiles/h5diff_57.txt
@@ -0,0 +1,11 @@
+#############################
+Expected output for 'h5diff file6.h5 file6.h5 dset7a dset7b'
+#############################
+$h5diff file6.h5 file6.h5 dset7a dset7b
+Warning: Different storage datatype
+</dset7a> has file datatype H5T_STD_I8LE
+</dset7b> has file datatype H5T_STD_U8LE
+Comparison not supported
+</dset7a> has sign H5T_SGN_2
+</dset7b> has sign H5T_SGN_NONE
+