Blame SOURCES/0001-test-v2v-fedora-btrfs-conversion-spell-out-btrfs-fea.patch

c659c5
From 019809794742e1990af3c14b953f8c307f629b7c Mon Sep 17 00:00:00 2001
c659c5
From: Laszlo Ersek <lersek@redhat.com>
c659c5
Date: Thu, 12 Jan 2023 12:27:26 +0100
c659c5
Subject: [PATCH] test-v2v-fedora-btrfs-conversion: spell out btrfs feature
c659c5
 group dependency
c659c5
c659c5
In case the libguestfs appliance lacks the btrfs feature group, we create
c659c5
a zero-sized phony Fedora/BTRFS image variant, causing this test case to
c659c5
fail. In that situation, the test should just be skipped.
c659c5
c659c5
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
c659c5
Acked-by: Richard W.M. Jones <rjones@redhat.com>
c659c5
---
c659c5
 tests/test-v2v-fedora-btrfs-conversion.sh | 1 +
c659c5
 1 file changed, 1 insertion(+)
c659c5
c659c5
diff --git a/tests/test-v2v-fedora-btrfs-conversion.sh b/tests/test-v2v-fedora-btrfs-conversion.sh
c659c5
index c78f8ae2..14099893 100755
c659c5
--- a/tests/test-v2v-fedora-btrfs-conversion.sh
c659c5
+++ b/tests/test-v2v-fedora-btrfs-conversion.sh
c659c5
@@ -27,5 +27,6 @@ set -x
c659c5
 skip_if_skipped
c659c5
 f=../test-data/phony-guests/fedora-btrfs.img
c659c5
 requires test -f $f
c659c5
+requires test -s $f
c659c5
 
c659c5
 $VG virt-v2v --debug-gc -i disk $f -o null