The version 6.0.0 has very often a bug that makes the test fail, but which should be fixed in later versions. Version 5.1.0 has an issue as well. The version check is not the nicest way to check for this, but is enough.
Signed-off-by: Martin Kletzander <[email protected]> --- interop/interop-qemu-storage-daemon.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/interop/interop-qemu-storage-daemon.sh b/interop/interop-qemu-storage-daemon.sh index 09d1898ef459..16aafab9e65a 100755 --- a/interop/interop-qemu-storage-daemon.sh +++ b/interop/interop-qemu-storage-daemon.sh @@ -23,7 +23,11 @@ set -e set -x requires test "x$QEMU_STORAGE_DAEMON" != "x" -requires $QEMU_STORAGE_DAEMON --version +requires sed --version +qsd_version="$($QEMU_STORAGE_DAEMON --version | \ + sed -n '1s/qemu-storage-daemon version \([0-9.]*\).*/\1/p')" +requires_not test "$qsd_version" = "6.0.0" +requires_not test "$qsd_version" = "5.1.0" requires nbdsh --version requires qemu-img --version -- 2.32.0 _______________________________________________ Libguestfs mailing list [email protected] https://listman.redhat.com/mailman/listinfo/libguestfs
