[libguestfs] Disable all btrfs tests.

Richard W.M. Jones rjones at fedoraproject.org
Mon Oct 8 11:23:29 UTC 2012


commit 8dddac6b1a6afcdb022f3af479bcbc2ce8e238a1
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Oct 8 12:22:49 2012 +0100

    Disable all btrfs tests.
    
    btrfs is broken in F18/Rawhide: RHBZ#863978.

 libguestfs.spec |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/libguestfs.spec b/libguestfs.spec
index 7f06194..7f70091 100644
--- a/libguestfs.spec
+++ b/libguestfs.spec
@@ -757,6 +757,15 @@ export LIBGUESTFS_TRACE=1
 # checksum at runtime.
 export SKIP_TEST_CHECKSUM_DEVICE=1
 
+# Disable all btrfs tests (RHBZ#863978).
+export SKIP_TEST_BTRFS_FSCK=1
+export SKIP_TEST_BTRFS_SET_SEEDING=1
+export SKIP_TEST_BTRFS_FILESYSTEM_SYNC=1
+export SKIP_TEST_BTRFS_SUBVOLUME_DELETE=1
+export SKIP_TEST_BTRFS_SUBVOLUME_SNAPSHOT=1
+export SKIP_TEST_MKFS_BTRFS=1
+perl -i.bak -e 'while (<>) {print unless /tests\/btrfs/}' Makefile.am
+
 %if %{runtests}
 make check
 %endif


More information about the scm-commits mailing list