Displaying 1 result from an estimated 1 matches for "739a229da".
2018 Nov 14
1
[PATCH] test-data: Allow tests to be run when Btrfs is not available.
...that creates
this XML skips the file if it has zero size.
---
test-data/phony-guests/make-fedora-img.pl | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/test-data/phony-guests/make-fedora-img.pl b/test-data/phony-guests/make-fedora-img.pl
index c665f0d19..739a229da 100755
--- a/test-data/phony-guests/make-fedora-img.pl
+++ b/test-data/phony-guests/make-fedora-img.pl
@@ -39,8 +39,15 @@ my @PARTITIONS = (
# 32k blank space
);
-my @images;
+# Test features.
my $g = Sys::Guestfs->new ();
+$g->add_drive ("/dev/null");
+$g->launch ();
+m...