diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2011-04-28 20:03:35 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2011-04-28 20:03:35 (GMT) |
commit | e5467b3e4e1a42f917055e64f037f182a5f000e7 (patch) | |
tree | ffc76a8647cb19e30382753d303908909d2a3f10 | |
parent | 32642cd2d0e75fdcfd8e87119a1f2e8a51fee47e (diff) | |
download | hdf5-e5467b3e4e1a42f917055e64f037f182a5f000e7.zip hdf5-e5467b3e4e1a42f917055e64f037f182a5f000e7.tar.gz hdf5-e5467b3e4e1a42f917055e64f037f182a5f000e7.tar.bz2 |
[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.
-rw-r--r-- | test/dtypes.c | 4 | ||||
-rw-r--r-- | vms/test/H5srcdir_str.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/test/dtypes.c b/test/dtypes.c index a66a34c..1dfa085 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -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 { diff --git a/vms/test/H5srcdir_str.h b/vms/test/H5srcdir_str.h index faf1b03..6e19146 100644 --- a/vms/test/H5srcdir_str.h +++ b/vms/test/H5srcdir_str.h @@ -19,4 +19,4 @@ */
/* Set the 'srcdir' path from configure time */
-static const char *config_srcdir = "[.]";
+static const char *config_srcdir = "[...]";
|