summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-04-03 21:07:27 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-04-03 21:07:27 (GMT)
commitc83dbd9c1869639721ca73df403fe3df98b21f09 (patch)
tree75d53e538068e415e10a95c88ea3f1aa01f204e6 /tools/testfiles
parent04c174bde0e54b4432c0502f63b279731dda2559 (diff)
downloadhdf5-c83dbd9c1869639721ca73df403fe3df98b21f09.zip
hdf5-c83dbd9c1869639721ca73df403fe3df98b21f09.tar.gz
hdf5-c83dbd9c1869639721ca73df403fe3df98b21f09.tar.bz2
[svn-r14792] bug fix: #1106 h5dump -b will dump ASCII values for datasets after the first one. One variable that controls the binary output was incorrectly reset to zero after a binary output was done a first time. The effect was that on cases of several datasets, the ones after the first were not binary written. Eliminated the resetting of that variable and tested a file with several datasets. Modified the test file so that it is easier to test with the tool binread, that reads the binary output of h5dump.
tested: windows, linux
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tbin4.ddl2
-rw-r--r--tools/testfiles/tbinary.h5bin806144 -> 2144 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/tools/testfiles/tbin4.ddl b/tools/testfiles/tbin4.ddl
index 89849e4..78a6cd2 100644
--- a/tools/testfiles/tbin4.ddl
+++ b/tools/testfiles/tbin4.ddl
@@ -1,7 +1,7 @@
HDF5 "tbinary.h5" {
DATASET "double" {
DATATYPE H5T_IEEE_F64LE
- DATASPACE SIMPLE { ( 100000 ) / ( 100000 ) }
+ DATASPACE SIMPLE { ( 6 ) / ( 6 ) }
DATA {
}
}
diff --git a/tools/testfiles/tbinary.h5 b/tools/testfiles/tbinary.h5
index 691b008..adc5b15 100644
--- a/tools/testfiles/tbinary.h5
+++ b/tools/testfiles/tbinary.h5
Binary files differ