From e1026bd354443ae9c4e0cf197feb7191920c9f13 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 2 Dec 2016 11:36:27 -0800 Subject: Correct oversight in Java test and remove direct VFD from SWMR supported drivers. --- java/test/TestH5Pfapl.java | 1 + 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) -- cgit v0.12