[Libguestfs] [PATCH] v2v: -o rhv-upload: skip test-v2v-o-rhv-upload.sh w/o nbdkit

Pino Toscano ptoscano at redhat.com
Mon Oct 1 11:47:06 UTC 2018


-o rhv-upload requires nbdkit, so skip this test if it is not installed.
---
 v2v/test-v2v-o-rhv-upload.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/v2v/test-v2v-o-rhv-upload.sh b/v2v/test-v2v-o-rhv-upload.sh
index 8bda7cc0b..29214a9db 100755
--- a/v2v/test-v2v-o-rhv-upload.sh
+++ b/v2v/test-v2v-o-rhv-upload.sh
@@ -28,6 +28,7 @@ set -x
 $TEST_FUNCTIONS
 skip_if_skipped
 skip_if_backend uml
+skip_unless nbdkit file --version
 skip_unless_phony_guest windows.img
 
 libvirt_uri="test://$abs_top_builddir/test-data/phony-guests/guests.xml"
-- 
2.17.1




More information about the Libguestfs mailing list