Displaying 2 results from an estimated 2 matches for "4ba49b0ca".
2018 Nov 14
0
[PATCH v2] test-data: Allow tests to be run when Btrfs is not available.
...at creates
this XML skips the file if it has zero size.
---
test-data/phony-guests/make-fedora-img.pl | 52 +++++++++++++++--------
1 file changed, 35 insertions(+), 17 deletions(-)
diff --git a/test-data/phony-guests/make-fedora-img.pl b/test-data/phony-guests/make-fedora-img.pl
index 9eb0dc2ad..4ba49b0ca 100755
--- a/test-data/phony-guests/make-fedora-img.pl
+++ b/test-data/phony-guests/make-fedora-img.pl
@@ -123,34 +123,52 @@ EOF
}
elsif ($ENV{LAYOUT} eq 'btrfs') {
- push (@images, "fedora-btrfs.img-t");
+ # Test if btrfs is available.
+ my $g2 = Sys::Guestfs->new...
2018 Nov 14
2
[PATCH v2] test-data: Allow tests to be run when Btrfs is not available.
v2:
- Moved the btrfs available test into the subclause where it is used.
Note I got tired of fighting emacs indentation mode and I pushed a
whitespace only patch which fixes the indentation to be 4 spaces
instead of 2 spaces:
https://github.com/libguestfs/libguestfs/commit/df54c75d4c53ed580e5269306e11e0758d169452
This v2 patch requires that one.
Rich.