From 16baf0465b5e0ddf538d1e2e7454bdb2b450277f Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 17 Nov 2000 13:02:23 -0500 Subject: [svn-r2966] Purpose: Add Test Description: Added test for variable length data types. Platforms tested: Linux --- tools/testfiles/tvldtypes.ls | 20 ++++++++++++++++++++ tools/testh5ls.sh | 3 +++ 2 files changed, 23 insertions(+) create mode 100644 tools/testfiles/tvldtypes.ls 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 -- cgit v0.12