summaryrefslogtreecommitdiffstats
path: root/test/dtypes.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-04-28 19:42:34 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-04-28 19:42:34 (GMT)
commitee725efcfcf8da302fa864049594ced89d92f483 (patch)
tree73d18e00e8aad58048f40513be1dae1051675ce7 /test/dtypes.c
parent8bdd58ac2d02b2759bc18c1f9c84c4aaa3d41b39 (diff)
downloadhdf5-ee725efcfcf8da302fa864049594ced89d92f483.zip
hdf5-ee725efcfcf8da302fa864049594ced89d92f483.tar.gz
hdf5-ee725efcfcf8da302fa864049594ced89d92f483.tar.bz2
[svn-r20661] 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.
Diffstat (limited to 'test/dtypes.c')
-rw-r--r--test/dtypes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index 8ceb252..3511d04 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -3211,7 +3211,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 {