summaryrefslogtreecommitdiffstats
path: root/test/lheap.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-03-24 18:33:45 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-03-24 18:33:45 (GMT)
commit3e8dc8cccc5b907d93e7eeb61d26088142b3d982 (patch)
treeaf10d7b3e3ec99b809fa880af89e8fe8b48777b0 /test/lheap.c
parentf960ff573ea4d7c324be7a392f0b0c85bc796030 (diff)
downloadhdf5-3e8dc8cccc5b907d93e7eeb61d26088142b3d982.zip
hdf5-3e8dc8cccc5b907d93e7eeb61d26088142b3d982.tar.gz
hdf5-3e8dc8cccc5b907d93e7eeb61d26088142b3d982.tar.bz2
[svn-r20315] brought revisions 19868:20300 from the 1.8.6_vms branch to the trunk for VMS work
Diffstat (limited to 'test/lheap.c')
-rw-r--r--test/lheap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lheap.c b/test/lheap.c
index 9f78a15..ab6ee9f 100644
--- a/test/lheap.c
+++ b/test/lheap.c
@@ -179,8 +179,11 @@ main(void)
{
const char *testfile = H5_get_srcdir_filename(TESTFILE); /* Corrected test file name */
hid_t dset = -1;
-
+#ifdef H5_VMS
+ file = H5Fopen(TESTFILE, H5F_ACC_RDONLY, H5P_DEFAULT);
+#else
file = H5Fopen(testfile, H5F_ACC_RDONLY, H5P_DEFAULT);
+#endif
if(file >= 0){
if((dset = H5Dopen2(file, "/Dataset1", H5P_DEFAULT)) < 0)
TEST_ERROR