summaryrefslogtreecommitdiffstats
path: root/vms/tools/h5dump
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2006-06-30 22:24:40 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2006-06-30 22:24:40 (GMT)
commitf23ed40caef80f7a41cf7ce67e0615243c3e11f5 (patch)
tree074b4c39e85905e0b8551ce9e723a5fba1501af1 /vms/tools/h5dump
parent7773dedf81b90563af7dd94c9d487c1d0e761875 (diff)
downloadhdf5-f23ed40caef80f7a41cf7ce67e0615243c3e11f5.zip
hdf5-f23ed40caef80f7a41cf7ce67e0615243c3e11f5.tar.gz
hdf5-f23ed40caef80f7a41cf7ce67e0615243c3e11f5.tar.bz2
[svn-r12448] Purpose: Bug fixes/maintenance
Description: Some "" were missing causing incorrect results in passing an argument string. Solution: Added missing "" Platforms tested: VMS server. There are still problems with the tests that have "string" as an argument, for example: -d "/g1/g1.1/dset1.1.2[0;2;10]" tall.h5 On VMS "g1" and "dset" are translated in upper case causing h5dump to fail. After figuring out the correct amount of " for VMS I encountered another problem: corresponding DDL file does not have "" around /g1/g1.1/dset1.1.2..... and therefore VMS diff fails. Question: Since command to h5dump is h5dump -d "/g1/g1.1/dset1.1.2[0;2;10]" tall.h5, why the second line in the tall-5s.ddl has h5dump -d /g1/g1.1/dset1.1.2[0;2;10] tall.h5? If one types the command without "", it fails on UNIX. Misc. update:
Diffstat (limited to 'vms/tools/h5dump')
-rw-r--r--vms/tools/h5dump/check_h5dump.com10
1 files changed, 5 insertions, 5 deletions
diff --git a/vms/tools/h5dump/check_h5dump.com b/vms/tools/h5dump/check_h5dump.com
index 5518f3a..4a04180 100644
--- a/vms/tools/h5dump/check_h5dump.com
+++ b/vms/tools/h5dump/check_h5dump.com
@@ -110,7 +110,7 @@ $ CALL TOOLTEST tfamily.ddl "--filedriver=family tfamily%05d.h5"
$ CALL TOOLTEST tmulti.ddl "--filedriver=multi tmulti"
$
$ ! Test for files with group names which reach > 1024 bytes in size
-$ CALL TOOLTEST tlarge_objname.ddl -w157 "tlarge_objname.h5"
+$ CALL TOOLTEST tlarge_objname.ddl "-w157 tlarge_objname.h5"
$
$ ! Test '-A' to suppress data but print attr's
$ CALL TOOLTEST tall-2A.ddl "-"""A""" tall.h5"
@@ -120,12 +120,12 @@ $ CALL TOOLTEST tall-2B.ddl "-"""A""" -r tall.h5"
$
$ ! Test Subsetting
$ CALL TOOLTEST tall-4s.ddl "--dataset=/g1/g1.1/dset1.1.1 --start=1,1 --stride=2,3 --count=3,2 --block=1,1 tall.h5"
-$ CALL TOOLTEST tall-5s.ddl "-d """/g1/g1.1/dset1.1.2[0;2;10;]""" tall.h5"
-$ CALL TOOLTEST tdset-3s.ddl "-d """/dset1[1,1;;;]""" tdset.h5"
-$ CALL TOOLTEST tdset2-1s.ddl "-d """/dset1[;3,2;4,4;1,4]""" tdset2.h5"
+$ CALL TOOLTEST tall-5s.ddl "-d """/"g"1/"g"1.1/"dset"1.1.2[0;2;10;]""" tall.h5"
+$ CALL TOOLTEST tdset-3s.ddl "-d """/"dset"1[1,1;;;]""" tdset.h5"
+$ CALL TOOLTEST tdset2-1s.ddl "-d """/"dset"1[;3,2;4,4;1,4]""" tdset2.h5"
$
$ ! Test printing characters in ASCII instead of decimal
-$ CALL TOOLTEST tchar1.ddl -r "tchar.h5"
+$ CALL TOOLTEST tchar1.ddl "-r tchar.h5"
$
$ ! Test failure handling
$ ! Missing file name