diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-12-02 19:36:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-12-02 19:36:27 (GMT) |
commit | e1026bd354443ae9c4e0cf197feb7191920c9f13 (patch) | |
tree | f69bcb0ff762cd816b7363565f682d36f629d2d1 | |
parent | a0d3801251c45ec3918e2ad9367c6f85022ef997 (diff) | |
download | hdf5-e1026bd354443ae9c4e0cf197feb7191920c9f13.zip hdf5-e1026bd354443ae9c4e0cf197feb7191920c9f13.tar.gz hdf5-e1026bd354443ae9c4e0cf197feb7191920c9f13.tar.bz2 |
Correct oversight in Java test and remove direct VFD from SWMR supported
drivers.
-rw-r--r-- | java/test/TestH5Pfapl.java | 1 | ||||
-rw-r--r-- | src/H5FDtest.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/java/test/TestH5Pfapl.java b/java/test/TestH5Pfapl.java index 8f15648..e888e20 100644 --- a/java/test/TestH5Pfapl.java +++ b/java/test/TestH5Pfapl.java @@ -16,6 +16,7 @@ package test; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; diff --git a/src/H5FDtest.c b/src/H5FDtest.c index 9d2f2e9..fc9188b 100644 --- a/src/H5FDtest.c +++ b/src/H5FDtest.c @@ -109,8 +109,7 @@ H5FD_supports_swmr_test(const char *vfd_name) if(!vfd_name || !HDstrcmp(vfd_name, "")) ret_value = TRUE; else - ret_value = !HDstrcmp(vfd_name, "direct") - || !HDstrcmp(vfd_name, "log") + ret_value = !HDstrcmp(vfd_name, "log") || !HDstrcmp(vfd_name, "sec2"); FUNC_LEAVE_NOAPI(ret_value) |