summaryrefslogtreecommitdiffstats
path: root/tools/h5import/testfiles/binin8w.conf
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-02-19 19:12:10 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-02-19 19:12:10 (GMT)
commit6bc41c8b209fd0cc9cc3d088eb425ddbcf681a53 (patch)
treea6c6f0d9f1fb4bd950c74dbadaf50f4ee1623092 /tools/h5import/testfiles/binin8w.conf
parentfc8e5477f583b6e256b06da62fb9b80d0db5418f (diff)
downloadhdf5-6bc41c8b209fd0cc9cc3d088eb425ddbcf681a53.zip
hdf5-6bc41c8b209fd0cc9cc3d088eb425ddbcf681a53.tar.gz
hdf5-6bc41c8b209fd0cc9cc3d088eb425ddbcf681a53.tar.bz2
[svn-r14613] 971 (B2) h5import bug on Windows w/binary datasets. CLOSED. fread in windows needs a binary file to be open with "rb" instead of "r" otherwise it terminates execution if an end of file character is found on the input file. Besides that the binary file generated needs to be open with "wb" , otherwise an end of line character is read twice. DONE NOW for 1.8, already done previously for 1.6
renamed the h5import test files to have the extensions text input files = .txt binary input files = .bin configuration files = .conf hdf5 files = .h5 besides that in very test the files have the same name except extension. For example TOOLTEST txtin16.txt -c $srcdir/testfiles/txtin16.conf -o txtin16.h5 The convention for the test name is for example, for "txtin16" "txt" for text then "in16" means integer 16 size Tested: linux, solaris
Diffstat (limited to 'tools/h5import/testfiles/binin8w.conf')
-rw-r--r--tools/h5import/testfiles/binin8w.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/h5import/testfiles/binin8w.conf b/tools/h5import/testfiles/binin8w.conf
new file mode 100644
index 0000000..fccb4ac
--- /dev/null
+++ b/tools/h5import/testfiles/binin8w.conf
@@ -0,0 +1,9 @@
+
+INPUT-CLASS IN
+INPUT-SIZE 8
+RANK 1
+DIMENSION-SIZES 4
+OUTPUT-BYTE-ORDER LE
+OUTPUT-CLASS IN
+OUTPUT-SIZE 8
+OUTPUT-ARCHITECTURE STD