[svn-r20666] Bug fix: VMS has trouble to deal with absolute path. I changed dtypes.c to use the file name only. I also

updated the current directory path in vms/test/H5srcdir_str.h.

Tested on jam and OpenVMS.
This commit is contained in:
Raymond Lu
2011-04-28 15:03:35 -05:00
parent 32642cd2d0
commit e5467b3e4e
2 changed files with 5 additions and 1 deletions

View File

@@ -3210,7 +3210,11 @@ test_compound_18(void)
/* Open Generated File */
/* (generated with gen_bad_compound.c) */
#ifdef H5_VMS
if((file = H5Fopen(TESTFILE, H5F_ACC_RDONLY, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR
#else
if((file = H5Fopen(testfile, H5F_ACC_RDONLY, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR
#endif
/* Try to open the datatype */
H5E_BEGIN_TRY {