From f23ed40caef80f7a41cf7ce67e0615243c3e11f5 Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Fri, 30 Jun 2006 17:24:40 -0500 Subject: [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: --- vms/tools/h5dump/check_h5dump.com | 10 +++++----- 1 file 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 -- cgit v0.12