[Pkg-libvirt-commits] [libguestfs] 92/156: tests: lvm: Allow test to be skipped.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Aug 30 08:26:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit 8d21155cb517a75ecd84c92d7f17c7440ad5b275
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.
(cherry picked from commit 64498034bbc7bce2692597fb8bfbb721e8180543)
---
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