[Pkg-libvirt-commits] [libguestfs] 32/266: tests: lvm: Allow test to be skipped.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:37 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit 64498034bbc7bce2692597fb8bfbb721e8180543
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Jul 25 10:04:44 2014 +0100

    tests: lvm: Allow test to be skipped.
---
 tests/lvm/test-lvm-filtering.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/lvm/test-lvm-filtering.sh b/tests/lvm/test-lvm-filtering.sh
index a448554..3744021 100755
--- a/tests/lvm/test-lvm-filtering.sh
+++ b/tests/lvm/test-lvm-filtering.sh
@@ -20,6 +20,11 @@
 
 set -e
 
+if [ -n "$SKIP_TEST_LVM_FILTERING_SH" ]; then
+    echo "$0: skipping test because environment variable is set."
+    exit 77
+fi
+
 rm -f test-lvm-filtering-1.img test-lvm-filtering-2.img
 
 actual=$(../../fish/guestfish <<'EOF'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list