summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-12-02 19:36:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-12-02 19:36:27 (GMT)
commite1026bd354443ae9c4e0cf197feb7191920c9f13 (patch)
treef69bcb0ff762cd816b7363565f682d36f629d2d1
parenta0d3801251c45ec3918e2ad9367c6f85022ef997 (diff)
downloadhdf5-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.java1
-rw-r--r--src/H5FDtest.c3
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)