From 3d807e8f17ccdedc6ea4f1aa68314db497ebcdfb Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 15 Mar 2021 09:30:57 +0000 Subject: [PATCH] Workaround broken interop/interop-qemu-storage-daemon.sh test in RHEL 9. --- libnbd.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libnbd.spec b/libnbd.spec index a4131cb..fdca285 100644 --- a/libnbd.spec +++ b/libnbd.spec @@ -228,6 +228,15 @@ touch interop/structured-read.sh chmod +x interop/structured-read.sh %endif +# interop/interop-qemu-storage-daemon.sh fails in RHEL 9 because of +# this bug in qemu: +# https://lists.nongnu.org/archive/html/qemu-devel/2021-03/threads.html#03544 +%if 0%{?rhel} +rm interop/interop-qemu-storage-daemon.sh +touch interop/interop-qemu-storage-daemon.sh +chmod +x interop/interop-qemu-storage-daemon.sh +%endif + # All fuse tests fail in Koji with: # fusermount: entry for fuse/test-*.d not found in /etc/mtab # for unknown reasons but probably related to the Koji environment. @@ -316,6 +325,7 @@ make %{?_smp_mflags} check || { %changelog * Mon Mar 15 2021 Richard W.M. Jones - 1.7.3-3 - Update documentation for CVE-2021-20286. +- Workaround broken interop/interop-qemu-storage-daemon.sh test in RHEL 9. * Thu Mar 4 2021 Richard W.M. Jones - 1.7.3-2 - Add fix for nbdkit test suite.