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]>

asdf

Signed-off-by: Martin Kletzander <[email protected]>
---
 interop/interop-qemu-storage-daemon.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/interop/interop-qemu-storage-daemon.sh 
b/interop/interop-qemu-storage-daemon.sh
index 09d1898ef459..dc1efcdf4ca1 100755
--- a/interop/interop-qemu-storage-daemon.sh
+++ b/interop/interop-qemu-storage-daemon.sh
@@ -23,7 +23,10 @@ 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.31.1

_______________________________________________
Libguestfs mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to