diff options
author | Paul Harten <pharten@ncsa.uiuc.edu> | 1998-12-21 03:50:15 (GMT) |
---|---|---|
committer | Paul Harten <pharten@ncsa.uiuc.edu> | 1998-12-21 03:50:15 (GMT) |
commit | 7d9d6add9d55fd056fc097dbcf91a2f2e6de71c9 (patch) | |
tree | 826f78a418805513764dfb9bf526c6a721af19d2 /tools/testfiles/tcomp-1.ddl | |
parent | 03532b98d4aac52074e80df2f2f3d9ae4f18e998 (diff) | |
download | hdf5-7d9d6add9d55fd056fc097dbcf91a2f2e6de71c9.zip hdf5-7d9d6add9d55fd056fc097dbcf91a2f2e6de71c9.tar.gz hdf5-7d9d6add9d55fd056fc097dbcf91a2f2e6de71c9.tar.bz2 |
[svn-r977] Purpose:
New feature
Solution:
Added some new new tests to show that paths involving HARDLINKS
and paths involving SOFTLINKS convert existing objects from H5 to
H4 the same way that paths involving no links does.
Platform tested:
Solaris2.5
Diffstat (limited to 'tools/testfiles/tcomp-1.ddl')
-rw-r--r-- | tools/testfiles/tcomp-1.ddl | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/tools/testfiles/tcomp-1.ddl b/tools/testfiles/tcomp-1.ddl index d837aff..0f1c79f 100644 --- a/tools/testfiles/tcomp-1.ddl +++ b/tools/testfiles/tcomp-1.ddl @@ -3,7 +3,7 @@ Expected output for 'h5dump tcompound.h5' ############################# HDF5 "tcompound.h5" { GROUP "/" { - DATATYPE "#3432:0" { + DATATYPE "#5992:0" { H5T_STD_I32BE int; H5T_IEEE_F32BE float; } @@ -28,6 +28,32 @@ GROUP "/" { {0,0}, {1,1.1}, {2,2.2}, {3,3.3}, {4,4.4} } } + DATASET "dset3" { + DATATYPE { + HARDLINK { "/type2" } + } + DATASPACE { ARRAY ( 3, 6 ) ( 3, 6 ) } + DATA { + {[0,1,2,3],[0.1,0.1,0.1,0.1,0.1,0.1,0.2,0.2,0.2,0.2,0.2,0.2,0.3,0.3,0.3,0.3,0.3,0.3,0.4,0.4,0.4,0.4,0.4,0.4,0.5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,0.1,0.1,0.1,0.1,0.1,0.2,0.2,0.2,0.2,0.2,0.2,0.3,0.3,0.3,0.3,0.3,0.3,0.4,0.4,0.4,0.4,0.4,0.4,0.5,0.5,0.5,0.5,0.5,0.5]}, + {[0,1,2,3],[0.1,0.1,0.1,0.1,0.1,0.1,0.2,0.2,0.2,0.2,0.2,0.2,0.3,0.3,0.3,0.3,0.3,0.3,0.4,0.4,0.4,0.4,0.4,0.4,0.5,0.5,0.5,0.5,0.5,0.5]} + } + } DATASET "dset4" { DATATYPE { HARDLINK { "/group1/type3" } @@ -45,11 +71,11 @@ GROUP "/" { GROUP "group2" { DATASET "dset5" { DATATYPE { - HARDLINK { "#3432:0" } + HARDLINK { "#5992:0" } } DATASPACE { ARRAY ( 5 ) ( 5 ) } DATA { - {0,0}, {1,1}, {2,2}, {3,3}, {4,4} + {0,0}, {1,0.1}, {2,0.2}, {3,0.3}, {4,0.4} } } } @@ -59,7 +85,7 @@ GROUP "/" { } DATATYPE "type2" { H5T_STD_I32BE int_array[4]; - H5T_STD_I32BE float_array[5][6]; + H5T_IEEE_F32BE float_array[5][6]; } } } |