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

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