diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-07-06 20:07:03 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-07-06 20:07:03 (GMT) |
commit | 4535e598f709e4d9bed0f5de1076d5e77b7441ab (patch) | |
tree | 31f79fe87fbda10d9af69d2a04eb9b7619021a44 /tools/testfiles/tfill.ddl | |
parent | e8337826c8f2a9baea10234370cbe7955edb6d0a (diff) | |
download | hdf5-4535e598f709e4d9bed0f5de1076d5e77b7441ab.zip hdf5-4535e598f709e4d9bed0f5de1076d5e77b7441ab.tar.gz hdf5-4535e598f709e4d9bed0f5de1076d5e77b7441ab.tar.bz2 |
[svn-r8812] Purpose:
h5dump new tests
Description:
added new tests for the -p option, superblock, file contents, fill values, array indices.
Solution:
Platforms tested:
linux
AIX
solaris
Misc. update:
Diffstat (limited to 'tools/testfiles/tfill.ddl')
-rw-r--r-- | tools/testfiles/tfill.ddl | 174 |
1 files changed, 174 insertions, 0 deletions
diff --git a/tools/testfiles/tfill.ddl b/tools/testfiles/tfill.ddl new file mode 100644 index 0000000..14a01f3 --- /dev/null +++ b/tools/testfiles/tfill.ddl @@ -0,0 +1,174 @@ +############################# +Expected output for 'h5dump -p tfvalues.h5' +############################# +HDF5 "tfvalues.h5" { +GROUP "/" { + DATASET "fill_array" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + STORAGE_LAYOUT { + CONTIGUOUS + SIZE 24 + OFFSET 1920 + } + FILTERS { + NONE + } + FILLVALUE { + FILL_TIME H5D_FILL_TIME_IFSET + VALUE [ 0, 0, 0 ] + } + ALLOCATION_TIME { + H5D_ALLOC_TIME_LATE + } + DATA { + (0): [ 1, 2, 3 ], [ 4, 5, 6 ] + } + } + DATASET "fill_compound" { + DATATYPE H5T_COMPOUND { + H5T_STD_I8LE "a"; + H5T_IEEE_F64LE "b"; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + STORAGE_LAYOUT { + CONTIGUOUS + SIZE 24 + OFFSET 1864 + } + FILTERS { + NONE + } + FILLVALUE { + FILL_TIME H5D_FILL_TIME_IFSET + VALUE { + 1, + 2 + } + } + ALLOCATION_TIME { + H5D_ALLOC_TIME_LATE + } + DATA { + (0): { + 1, + 2 + }, + (1): { + 3, + 4 + } + } + } + DATASET "fill_time_alloc" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + STORAGE_LAYOUT { + CONTIGUOUS + SIZE 8 + OFFSET 1848 + } + FILTERS { + NONE + } + FILLVALUE { + FILL_TIME H5D_FILL_TIME_ALLOC + VALUE -99 + } + ALLOCATION_TIME { + H5D_ALLOC_TIME_LATE + } + DATA { + (0): 1, 2 + } + } + DATASET "fill_time_ifset" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + STORAGE_LAYOUT { + CONTIGUOUS + SIZE 8 + OFFSET 2048 + } + FILTERS { + NONE + } + FILLVALUE { + FILL_TIME H5D_FILL_TIME_IFSET + VALUE -99 + } + ALLOCATION_TIME { + H5D_ALLOC_TIME_LATE + } + DATA { + (0): 1, 2 + } + } + DATASET "fill_time_never" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + STORAGE_LAYOUT { + CONTIGUOUS + SIZE 8 + OFFSET 2056 + } + FILTERS { + NONE + } + FILLVALUE { + FILL_TIME H5D_FILL_TIME_NEVER + VALUE -99 + } + ALLOCATION_TIME { + H5D_ALLOC_TIME_LATE + } + DATA { + (0): 1, 2 + } + } + DATASET "fill_vlen" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + STORAGE_LAYOUT { + CONTIGUOUS + SIZE 32 + OFFSET 1888 + } + FILTERS { + NONE + } + FILLVALUE { + FILL_TIME H5D_FILL_TIME_ALLOC + VALUE () + } + ALLOCATION_TIME { + H5D_ALLOC_TIME_LATE + } + DATA { + (0): (1), (2, 3) + } + } + DATASET "no_fill" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + STORAGE_LAYOUT { + CONTIGUOUS + SIZE 8 + OFFSET 1856 + } + FILTERS { + NONE + } + FILLVALUE { + FILL_TIME H5D_FILL_TIME_IFSET + VALUE 0 + } + ALLOCATION_TIME { + H5D_ALLOC_TIME_LATE + } + DATA { + (0): 1, 2 + } + } +} +} |