The tests assume probe_filter returns true if the filter is available
(and not the other way around).
Signed-off-by: Tomáš Golembiovský <tgolembi(a)redhat.com>
---
v2v/nbdkit.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/v2v/nbdkit.ml b/v2v/nbdkit.ml
index 77d2a506..00122bec 100644
--- a/v2v/nbdkit.ml
+++ b/v2v/nbdkit.ml
@@ -142,7 +142,7 @@ let common_create ?bandwidth plugin_name plugin_args plugin_env =
let cmd =
sprintf "%s nbdkit --dump-plugin --filter=%s null >/dev/null"
env_as_string filter_name in
- Sys.command cmd <> 0
+ Sys.command cmd == 0
in
(* Adding the readahead filter is always a win for our access
--
2.24.1