summaryrefslogtreecommitdiffstats
path: root/test/lheap.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-03-23 16:41:44 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-03-23 16:41:44 (GMT)
commitccaefedaf2ff94c8b64291aabbe3b90dcf3a1aaf (patch)
tree1c23b22fc52993f69114d22c0769890f653ff50e /test/lheap.c
parent2aabc3f41568a5daec0f1cae711c97a5bb82878d (diff)
downloadhdf5-ccaefedaf2ff94c8b64291aabbe3b90dcf3a1aaf.zip
hdf5-ccaefedaf2ff94c8b64291aabbe3b90dcf3a1aaf.tar.gz
hdf5-ccaefedaf2ff94c8b64291aabbe3b90dcf3a1aaf.tar.bz2
[svn-r20301] brought revisions 19868:20300 from the 1.8.6_vms branch to the 1.8 branch
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 dd7ff48..1a4ca20 100644
--- a/test/lheap.c
+++ b/test/lheap.c
@@ -169,8 +169,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