summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2005-02-05 18:27:04 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2005-02-05 18:27:04 (GMT)
commitc0bbeb909802f33bac72cd3fabaa4311d97d38a9 (patch)
tree51d7eec1eff1021dc3ebc0062c6e70ed9ce7dda0 /tools/testfiles
parent7df531486c17d79b196d39fd75cc44f30207c531 (diff)
downloadhdf5-c0bbeb909802f33bac72cd3fabaa4311d97d38a9.zip
hdf5-c0bbeb909802f33bac72cd3fabaa4311d97d38a9.tar.gz
hdf5-c0bbeb909802f33bac72cd3fabaa4311d97d38a9.tar.bz2
[svn-r9942] Purpose: Minor Bug fix
Description: H5T_NATIVE_SCHAR, H5T_NATIVE_UCHAR were always considered as little endian due to the algorithm to detect their order in H5detect.c. This error didn't affect data but didn't look right. Solution: In H5detect.c, use native int instead to detect order if type size is only 1 byte. Platforms tested: h5committest, fuss and arabica
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tcomp-4.ddl2
-rw-r--r--tools/testfiles/tcompound_complex.h5bin8192 -> 8192 bytes
-rw-r--r--tools/testfiles/tcompound_complex.h5.xml2
-rw-r--r--tools/testfiles/test1.h5bin20944 -> 20944 bytes
-rw-r--r--tools/testfiles/tstr3.h5bin8736 -> 8736 bytes
-rw-r--r--tools/testfiles/tstring.ddl4
-rw-r--r--tools/testfiles/tstring2.ddl2
-rw-r--r--tools/testfiles/tstringe.ddl4
-rw-r--r--tools/testfiles/tvlstr.h5bin8192 -> 8192 bytes
9 files changed, 7 insertions, 7 deletions
diff --git a/tools/testfiles/tcomp-4.ddl b/tools/testfiles/tcomp-4.ddl
index 32212f0..967b4a6 100644
--- a/tools/testfiles/tcomp-4.ddl
+++ b/tools/testfiles/tcomp-4.ddl
@@ -21,7 +21,7 @@ GROUP "/" {
H5T_ARRAY { [5][6] H5T_STD_I16BE } "d_name";
H5T_IEEE_F32BE "e_name";
H5T_ARRAY { [10] H5T_IEEE_F64BE } "f_name";
- H5T_STD_I8LE "g_name";
+ H5T_STD_I8BE "g_name";
}
DATASPACE SIMPLE { ( 6 ) / ( 6 ) }
DATA {
diff --git a/tools/testfiles/tcompound_complex.h5 b/tools/testfiles/tcompound_complex.h5
index 5eed316..9516371 100644
--- a/tools/testfiles/tcompound_complex.h5
+++ b/tools/testfiles/tcompound_complex.h5
Binary files differ
diff --git a/tools/testfiles/tcompound_complex.h5.xml b/tools/testfiles/tcompound_complex.h5.xml
index 44378dd..e213e8d 100644
--- a/tools/testfiles/tcompound_complex.h5.xml
+++ b/tools/testfiles/tcompound_complex.h5.xml
@@ -84,7 +84,7 @@ Expected output for 'h5dump --xml tcompound_complex.h5'
<hdf5:Field FieldName="g_name">
<hdf5:DataType>
<hdf5:AtomicType>
- <hdf5:IntegerType ByteOrder="LE" Sign="true" Size="1" />
+ <hdf5:IntegerType ByteOrder="BE" Sign="true" Size="1" />
</hdf5:AtomicType>
</hdf5:DataType>
</hdf5:Field>
diff --git a/tools/testfiles/test1.h5 b/tools/testfiles/test1.h5
index 4016565..70cea54 100644
--- a/tools/testfiles/test1.h5
+++ b/tools/testfiles/test1.h5
Binary files differ
diff --git a/tools/testfiles/tstr3.h5 b/tools/testfiles/tstr3.h5
index e44e2b3..dc9a127 100644
--- a/tools/testfiles/tstr3.h5
+++ b/tools/testfiles/tstr3.h5
Binary files differ
diff --git a/tools/testfiles/tstring.ddl b/tools/testfiles/tstring.ddl
index 6510eaa..9189a4f 100644
--- a/tools/testfiles/tstring.ddl
+++ b/tools/testfiles/tstring.ddl
@@ -39,7 +39,7 @@ GROUP "/" {
}
DATASET "str3" {
DATATYPE H5T_COMPOUND {
- H5T_STD_I32LE "a";
+ H5T_STD_I32BE "a";
H5T_STRING {
STRSIZE 255;
STRPAD H5T_STR_NULLTERM;
@@ -57,7 +57,7 @@ GROUP "/" {
}
}
DATASET "str4" {
- DATATYPE H5T_STD_I8LE
+ DATATYPE H5T_STD_I8BE
DATASPACE SIMPLE { ( 93 ) / ( 93 ) }
DATA {
(0): 70, 111, 117, 114, 32, 115, 99, 111, 114, 101, 32, 97, 110, 100,
diff --git a/tools/testfiles/tstring2.ddl b/tools/testfiles/tstring2.ddl
index c3e9844..303d5fc 100644
--- a/tools/testfiles/tstring2.ddl
+++ b/tools/testfiles/tstring2.ddl
@@ -3,7 +3,7 @@ Expected output for 'h5dump -r -d str4 tstr3.h5'
#############################
HDF5 "tstr3.h5" {
DATASET "str4" {
- DATATYPE H5T_STD_I8LE
+ DATATYPE H5T_STD_I8BE
DATASPACE SIMPLE { ( 93 ) / ( 93 ) }
DATA {
"Four score and seven
diff --git a/tools/testfiles/tstringe.ddl b/tools/testfiles/tstringe.ddl
index 1d96dbd..e16e98d 100644
--- a/tools/testfiles/tstringe.ddl
+++ b/tools/testfiles/tstringe.ddl
@@ -32,7 +32,7 @@ GROUP "/" {
}
DATASET "str3" {
DATATYPE H5T_COMPOUND {
- H5T_STD_I32LE "a";
+ H5T_STD_I32BE "a";
H5T_STRING {
STRSIZE 255;
STRPAD H5T_STR_NULLTERM;
@@ -49,7 +49,7 @@ GROUP "/" {
}
}
DATASET "str4" {
- DATATYPE H5T_STD_I8LE
+ DATATYPE H5T_STD_I8BE
DATASPACE SIMPLE { ( 93 ) / ( 93 ) }
DATA {
(0): 70, 111, 117, 114, 32, 115, 99, 111, 114, 101, 32, 97, 110, 100,
diff --git a/tools/testfiles/tvlstr.h5 b/tools/testfiles/tvlstr.h5
index c00defc..076fb3a 100644
--- a/tools/testfiles/tvlstr.h5
+++ b/tools/testfiles/tvlstr.h5
Binary files differ