summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-05-05 20:09:49 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-05-05 20:09:49 (GMT)
commit03cc051dde9c5673afe847a59dda84fc6dc6d0dc (patch)
treef305244874ca15a1de7883fa5d3d7485408faf57 /test
parent42301788bc99aee17a6d212dc5bcc72f875e57ee (diff)
downloadhdf5-03cc051dde9c5673afe847a59dda84fc6dc6d0dc.zip
hdf5-03cc051dde9c5673afe847a59dda84fc6dc6d0dc.tar.gz
hdf5-03cc051dde9c5673afe847a59dda84fc6dc6d0dc.tar.bz2
[svn-r20759] I commented out 2 test cases using H5_CANNOT_OPEN_TWICE because they open the same file twice. OpenVMS
can't do it. Other systems still run them. Tested on jam. Simple change.
Diffstat (limited to 'test')
-rw-r--r--test/links.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/links.c b/test/links.c
index a462d0c..fdb1bdb 100644
--- a/test/links.c
+++ b/test/links.c
@@ -6962,7 +6962,7 @@ external_file_cache(hid_t fapl, hbool_t new_format)
if(H5F_sfile_assert_num(0) < 0)
TEST_ERROR
-
+#ifndef H5_CANNOT_OPEN_TWICE
/*
* Test 5: 3 file cycle
*/
@@ -7071,7 +7071,7 @@ external_file_cache(hid_t fapl, hbool_t new_format)
/* Verify that all files are now closed */
if(H5F_sfile_assert_num(0) < 0)
TEST_ERROR
-
+#endif /* H5_CANNOT_OPEN_TWICE */
/* Close fapl */
H5Pclose(my_fapl);
@@ -14652,7 +14652,9 @@ main(void)
nerrors += external_symlink(env_h5_drvr, my_fapl, new_format) < 0 ? 1 : 0;
nerrors += external_copy_invalid_object(my_fapl, new_format) < 0 ? 1 : 0;
nerrors += external_dont_fail_to_source(my_fapl, new_format) < 0 ? 1 : 0;
+#ifndef H5_CANNOT_OPEN_TWICE
nerrors += external_open_twice(my_fapl, new_format) < 0 ? 1 : 0;
+#endif /* H5_CANNOT_OPEN_TWICE */
} /* end for */
/* These tests assume that external links are a form of UD links,