diff options
author | Paul Harten <pharten@ncsa.uiuc.edu> | 1999-04-02 21:38:30 (GMT) |
---|---|---|
committer | Paul Harten <pharten@ncsa.uiuc.edu> | 1999-04-02 21:38:30 (GMT) |
commit | e5376cafb45c7c0241086b67d657f81484226f0a (patch) | |
tree | 0f08e4e7808ceccc1f6fd79a5d983ba43c56b8c6 /tools/testfiles | |
parent | 5e319027652b1187c509953f0f9bb80269244c51 (diff) | |
download | hdf5-e5376cafb45c7c0241086b67d657f81484226f0a.zip hdf5-e5376cafb45c7c0241086b67d657f81484226f0a.tar.gz hdf5-e5376cafb45c7c0241086b67d657f81484226f0a.tar.bz2 |
[svn-r1172] Purpose:
New feature
Problem:
The h5toh4 converter tester - testh5toh4, is set up to place output
files in same directory as input files. A difficulty comes up when
the input files come off a write-protected media, such-as CDROM.
Solution:
Rather than using "cd" to change directory and referencing files by
short filename only, "input directory" and "output directory" are
defined explicitly, and files are always referenced with pathnames
included. For cases when the converter generates the output filename,
a copy of the input file is first placed in the "output directory".
The copied input file is used by h5toh4 and then removed.
On Solaris2.5, the following sequence of commands seemed to work fine:
$ gunzip < hdf5-1.1.72.tar.gz | tar xf -
$ chmod -R ugo-w hdf5-1.1.72
$ mkdir build
$ cd build
$ ../hdf5-1.1.72/configure --enable-production --disable-debug \
$ --with-hdf4=... --with-zlib=...
$ make check
This change should allow the tester to be used when the hdf5 source
is on a read only media like a CDROM.
Platform tested:
Solaris2.5
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/tall.dmp | 8 | ||||
-rw-r--r-- | tools/testfiles/tattr.dmp | 6 | ||||
-rw-r--r-- | tools/testfiles/tcompound.dmp | 6 | ||||
-rw-r--r-- | tools/testfiles/tcompound2.dmp | 6 | ||||
-rw-r--r-- | tools/testfiles/tdset.dmp | 8 | ||||
-rw-r--r-- | tools/testfiles/tdset2.dmp | 8 | ||||
-rw-r--r-- | tools/testfiles/tgroup.dmp | 6 | ||||
-rw-r--r-- | tools/testfiles/thlink.dmp | 8 | ||||
-rw-r--r-- | tools/testfiles/tloop.dmp | 6 | ||||
-rw-r--r-- | tools/testfiles/tmany.dmp | 8 | ||||
-rw-r--r-- | tools/testfiles/tslink.dmp | 6 | ||||
-rw-r--r-- | tools/testfiles/tstr.dmp | 6 | ||||
-rw-r--r-- | tools/testfiles/tstr2.dmp | 6 |
13 files changed, 44 insertions, 44 deletions
diff --git a/tools/testfiles/tall.dmp b/tools/testfiles/tall.dmp index 40ab6aa..3d3c74e 100644 --- a/tools/testfiles/tall.dmp +++ b/tools/testfiles/tall.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tall.hdf +File name: ./testfiles/tall.hdf Vgroup:0 @@ -287,7 +287,7 @@ Entries:- Vgroup:16 tag = 1965; reference = 40; - name = tall.hdf; class = CDF0.0; + name = ./testfiles/tall.hdf; class = CDF0.0; number of entries = 10; number of attributes = 0 Entries:- @@ -437,7 +437,7 @@ Graphical representation of the file:- -- SciData dimension record -- Numeric Data Group -File name: testfiles/tall.hdf +File name: ./testfiles/tall.hdf Vdata: 0 tag = 1962; reference = 3; @@ -571,7 +571,7 @@ Loc. Data 20 116 ; 49 ; 46 ; 49 ; 24 46 ; 49 ; 0 ; -File name: testfiles/tall.hdf +File name: ./testfiles/tall.hdf Variable Name = dset1.1.1 Index = 0 diff --git a/tools/testfiles/tattr.dmp b/tools/testfiles/tattr.dmp index f7fd364..32903d8 100644 --- a/tools/testfiles/tattr.dmp +++ b/tools/testfiles/tattr.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tattr.hdf +File name: ./testfiles/tattr.hdf Vgroup:0 @@ -28,7 +28,7 @@ Graphical representation of the file:- vg0 -File name: testfiles/tattr.hdf +File name: ./testfiles/tattr.hdf Vdata: 0 tag = 1962; reference = 3; @@ -90,4 +90,4 @@ Vdata: 4 Loc. Data 0 115 116 114 105 110 103 32 97 116 116 114 105 98 117 116 101 0 ; -File name: testfiles/tattr.hdf +File name: ./testfiles/tattr.hdf diff --git a/tools/testfiles/tcompound.dmp b/tools/testfiles/tcompound.dmp index c0da354..d837f27 100644 --- a/tools/testfiles/tcompound.dmp +++ b/tools/testfiles/tcompound.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tcompound.hdf +File name: ./testfiles/tcompound.hdf Vgroup:0 @@ -76,7 +76,7 @@ Graphical representation of the file:- vg2 -- vd -File name: testfiles/tcompound.hdf +File name: ./testfiles/tcompound.hdf Vdata: 0 tag = 1962; reference = 3; @@ -140,4 +140,4 @@ Loc. Data 0 0 0.000000 ; 1 0.100000 ; 2 0.200000 ; 3 3 0.300000 ; 4 0.400000 ; -File name: testfiles/tcompound.hdf +File name: ./testfiles/tcompound.hdf diff --git a/tools/testfiles/tcompound2.dmp b/tools/testfiles/tcompound2.dmp index 2475226..d082630 100644 --- a/tools/testfiles/tcompound2.dmp +++ b/tools/testfiles/tcompound2.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tcompound2.hdf +File name: ./testfiles/tcompound2.hdf Vgroup:0 @@ -76,7 +76,7 @@ Graphical representation of the file:- vg2 -- vd -File name: testfiles/tcompound2.hdf +File name: ./testfiles/tcompound2.hdf Vdata: 0 tag = 1962; reference = 3; @@ -144,4 +144,4 @@ Loc. Data 3 3 3.000000 ; 4 4.000000 ; 5 5.000000 ; -File name: testfiles/tcompound2.hdf +File name: ./testfiles/tcompound2.hdf diff --git a/tools/testfiles/tdset.dmp b/tools/testfiles/tdset.dmp index 2f99ad5..04261fb 100644 --- a/tools/testfiles/tdset.dmp +++ b/tools/testfiles/tdset.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tdset.hdf +File name: ./testfiles/tdset.hdf Vgroup:0 @@ -127,7 +127,7 @@ Entries:- Vgroup:7 tag = 1965; reference = 19; - name = tdset.hdf; class = CDF0.0; + name = ./testfiles/tdset.hdf; class = CDF0.0; number of entries = 6; number of attributes = 0 Entries:- @@ -208,7 +208,7 @@ Graphical representation of the file:- -- SciData dimension record -- Numeric Data Group -File name: testfiles/tdset.hdf +File name: ./testfiles/tdset.hdf Vdata: 0 tag = 1962; reference = 7; @@ -258,7 +258,7 @@ Vdata: 3 Loc. Data 0 20 ; -File name: testfiles/tdset.hdf +File name: ./testfiles/tdset.hdf Variable Name = dset1 Index = 0 diff --git a/tools/testfiles/tdset2.dmp b/tools/testfiles/tdset2.dmp index cf4a7a0..1c4c3ed 100644 --- a/tools/testfiles/tdset2.dmp +++ b/tools/testfiles/tdset2.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tdset2.hdf +File name: ./testfiles/tdset2.hdf Vgroup:0 @@ -127,7 +127,7 @@ Entries:- Vgroup:7 tag = 1965; reference = 19; - name = tdset2.hdf; class = CDF0.0; + name = ./testfiles/tdset2.hdf; class = CDF0.0; number of entries = 6; number of attributes = 0 Entries:- @@ -208,7 +208,7 @@ Graphical representation of the file:- -- SciData dimension record -- Numeric Data Group -File name: testfiles/tdset2.hdf +File name: ./testfiles/tdset2.hdf Vdata: 0 tag = 1962; reference = 7; @@ -258,7 +258,7 @@ Vdata: 3 Loc. Data 0 10 ; -File name: testfiles/tdset2.hdf +File name: ./testfiles/tdset2.hdf Variable Name = dset1 Index = 0 diff --git a/tools/testfiles/tgroup.dmp b/tools/testfiles/tgroup.dmp index 04228c5..8a11d04 100644 --- a/tools/testfiles/tgroup.dmp +++ b/tools/testfiles/tgroup.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tgroup.hdf +File name: ./testfiles/tgroup.hdf Vgroup:0 @@ -234,6 +234,6 @@ Graphical representation of the file:- vg13 -File name: testfiles/tgroup.hdf +File name: ./testfiles/tgroup.hdf -File name: testfiles/tgroup.hdf +File name: ./testfiles/tgroup.hdf diff --git a/tools/testfiles/thlink.dmp b/tools/testfiles/thlink.dmp index 8f0f34f..50d1dde 100644 --- a/tools/testfiles/thlink.dmp +++ b/tools/testfiles/thlink.dmp @@ -1,4 +1,4 @@ -File name: testfiles/thlink.hdf +File name: ./testfiles/thlink.hdf Vgroup:0 @@ -84,7 +84,7 @@ Entries:- Vgroup:5 tag = 1965; reference = 11; - name = thlink.hdf; class = CDF0.0; + name = ./testfiles/thlink.hdf; class = CDF0.0; number of entries = 2; number of attributes = 0 Entries:- @@ -128,7 +128,7 @@ Graphical representation of the file:- -- SciData dimension record -- Numeric Data Group -File name: testfiles/thlink.hdf +File name: ./testfiles/thlink.hdf Vdata: 0 tag = 1962; reference = 7; @@ -142,7 +142,7 @@ Vdata: 0 Loc. Data 0 5 ; -File name: testfiles/thlink.hdf +File name: ./testfiles/thlink.hdf Variable Name = dset1 Index = 0 diff --git a/tools/testfiles/tloop.dmp b/tools/testfiles/tloop.dmp index 0f85156..9c1f788 100644 --- a/tools/testfiles/tloop.dmp +++ b/tools/testfiles/tloop.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tloop.hdf +File name: ./testfiles/tloop.hdf Vgroup:0 @@ -48,6 +48,6 @@ Entries:- Graphical representation of the file:- (vg#: vgroup; vd: vdata) -File name: testfiles/tloop.hdf +File name: ./testfiles/tloop.hdf -File name: testfiles/tloop.hdf +File name: ./testfiles/tloop.hdf diff --git a/tools/testfiles/tmany.dmp b/tools/testfiles/tmany.dmp index b9ba9cd..03c501c 100644 --- a/tools/testfiles/tmany.dmp +++ b/tools/testfiles/tmany.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tmany.hdf +File name: ./testfiles/tmany.hdf Vgroup:0 @@ -254,7 +254,7 @@ Entries:- Vgroup:15 tag = 1965; reference = 31; - name = tmany.hdf; class = CDF0.0; + name = ./testfiles/tmany.hdf; class = CDF0.0; number of entries = 6; number of attributes = 0 Entries:- @@ -359,7 +359,7 @@ Graphical representation of the file:- -- SciData dimension record -- Numeric Data Group -File name: testfiles/tmany.hdf +File name: ./testfiles/tmany.hdf Vdata: 0 tag = 1962; reference = 5; @@ -474,7 +474,7 @@ Vdata: 7 Loc. Data 0 10 ; -File name: testfiles/tmany.hdf +File name: ./testfiles/tmany.hdf Variable Name = link3 Index = 0 diff --git a/tools/testfiles/tslink.dmp b/tools/testfiles/tslink.dmp index 9ade129..1408ce9 100644 --- a/tools/testfiles/tslink.dmp +++ b/tools/testfiles/tslink.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tslink.hdf +File name: ./testfiles/tslink.hdf Vgroup:0 @@ -15,6 +15,6 @@ Graphical representation of the file:- vg0 -File name: testfiles/tslink.hdf +File name: ./testfiles/tslink.hdf -File name: testfiles/tslink.hdf +File name: ./testfiles/tslink.hdf diff --git a/tools/testfiles/tstr.dmp b/tools/testfiles/tstr.dmp index 71a0131..9435754 100644 --- a/tools/testfiles/tstr.dmp +++ b/tools/testfiles/tstr.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tstr.hdf +File name: ./testfiles/tstr.hdf Vgroup:0 @@ -37,7 +37,7 @@ Graphical representation of the file:- -- vd -- vd -File name: testfiles/tstr.hdf +File name: ./testfiles/tstr.hdf Vdata: 0 tag = 1962; reference = 3; @@ -101,4 +101,4 @@ Loc. Data 2 115 49 50 51 52 53 54 55 56 57 48 49 50 51 52 53 54 55 56 57 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 ; -File name: testfiles/tstr.hdf +File name: ./testfiles/tstr.hdf diff --git a/tools/testfiles/tstr2.dmp b/tools/testfiles/tstr2.dmp index 450f7d7..2eaa106 100644 --- a/tools/testfiles/tstr2.dmp +++ b/tools/testfiles/tstr2.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tstr2.hdf +File name: ./testfiles/tstr2.hdf Vgroup:0 @@ -151,7 +151,7 @@ Graphical representation of the file:- vg6 -- vd -File name: testfiles/tstr2.hdf +File name: ./testfiles/tstr2.hdf Vdata: 0 tag = 1962; reference = 4; @@ -301,4 +301,4 @@ Loc. Data 9 84 104 105 115 32 105 115 32 114 111 119 32 57 32 111 102 32 116 121 112 101 32 72 53 84 95 83 84 82 95 83 80 65 67 69 80 65 68 32 111 102 32 115 116 114 105 110 103 32 97 ; -File name: testfiles/tstr2.hdf +File name: ./testfiles/tstr2.hdf |