diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2011-05-05 19:53:41 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2011-05-05 19:53:41 (GMT) |
commit | fc64b8d94e8d9755e8b94a9be7e3d689bf467ce5 (patch) | |
tree | 3314d8ccff0cdc989804d0ae5328cf2bc171839f /test | |
parent | f9f3c73173e09fc9d38ea73cc6bd8c972daad7d3 (diff) | |
download | hdf5-fc64b8d94e8d9755e8b94a9be7e3d689bf467ce5.zip hdf5-fc64b8d94e8d9755e8b94a9be7e3d689bf467ce5.tar.gz hdf5-fc64b8d94e8d9755e8b94a9be7e3d689bf467ce5.tar.bz2 |
[svn-r20758] I commented out 2 test cases using H5_CANNOT_OPEN_TWICE because they open the same file twice. OpenVMS
can't do it.
Tested on jam.
Diffstat (limited to 'test')
-rw-r--r-- | test/links.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/links.c b/test/links.c index bae9f4c..7ea758e 100644 --- a/test/links.c +++ b/test/links.c @@ -6979,7 +6979,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 */ @@ -7088,7 +7088,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); @@ -14678,7 +14678,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, |