diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-11-17 18:02:23 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-11-17 18:02:23 (GMT) |
commit | 16baf0465b5e0ddf538d1e2e7454bdb2b450277f (patch) | |
tree | 56d903283a2f911071287c5df1fcc06672a57303 /tools | |
parent | d83c9494ad727fe9d516c1ae426178a88afc3e3b (diff) | |
download | hdf5-16baf0465b5e0ddf538d1e2e7454bdb2b450277f.zip hdf5-16baf0465b5e0ddf538d1e2e7454bdb2b450277f.tar.gz hdf5-16baf0465b5e0ddf538d1e2e7454bdb2b450277f.tar.bz2 |
[svn-r2966] Purpose:
Add Test
Description:
Added test for variable length data types.
Platforms tested:
Linux
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testfiles/tvldtypes.ls | 20 | ||||
-rwxr-xr-x | tools/testh5ls.sh | 3 |
2 files changed, 23 insertions, 0 deletions
diff --git a/tools/testfiles/tvldtypes.ls b/tools/testfiles/tvldtypes.ls new file mode 100644 index 0000000..04ed398 --- /dev/null +++ b/tools/testfiles/tvldtypes.ls @@ -0,0 +1,20 @@ +############################# + output for 'h5ls -w80 -r -d tvldtypes.h5' +############################# +/tvldtypes.h5/Dataset1.0 Dataset {4} + Data: + (0) 0 + (0) 10, 11 + (0) 20, 21, 22 + (0) 30, 31, 32, 33 +/tvldtypes.h5/Dataset2.0 Dataset {4} + Data: + (0) 0 + (0) 10, 10.1000003814697 + (0) 20, 20.1000003814697, 20.2000007629395 + (0) 30, 30.1000003814697, 30.2000007629395, 30.2999992370605 +/tvldtypes.h5/Dataset3.0 Dataset {SCALAR} + Data: + (0) 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, + (0) 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, + (0) 70, 72 diff --git a/tools/testh5ls.sh b/tools/testh5ls.sh index 2e355fa..d159099 100755 --- a/tools/testh5ls.sh +++ b/tools/testh5ls.sh @@ -124,6 +124,9 @@ TOOLTEST tstr-1.ls -w80 -r -d tstr.h5 # test test file created from lib SAF team TOOLTEST tsaf.ls -w80 -r -d tsaf.h5 +# test for variable length data types +TOOLTEST tvldtypes.ls -w80 -r -d tvldtypes.h5 + if test $nerrors -eq 0 ; then echo "All $h5tool tests passed." fi |