summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-14 16:45:43 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-14 16:46:37 +0100
commit5b02c8d0bcdf815702b069cd69a8790ee41a310f (patch)
treed9f3343f172e7515ec50b6fe7c997960051c915d /tests
parent834747a85d80ce02e9deca32be89199c10cd74fd (diff)
downloadlibguestfs-5b02c8d0bcdf815702b069cd69a8790ee41a310f.tar.gz
libguestfs-5b02c8d0bcdf815702b069cd69a8790ee41a310f.tar.xz
libguestfs-5b02c8d0bcdf815702b069cd69a8790ee41a310f.zip
test-9p: Disable this test with libvirt.
This test doesn't work with sVirt if SELinux is enforcing, because qemu won't be able to access the 9p-exported directory on the host.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/9p/test-9p.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/9p/test-9p.sh b/tests/9p/test-9p.sh
index 74b4e234..c06ec3dc 100755
--- a/tests/9p/test-9p.sh
+++ b/tests/9p/test-9p.sh
@@ -27,8 +27,8 @@ if [ -n "$SKIP_TEST_9P_SH" ]; then
fi
method="$(../../fish/guestfish get-attach-method)"
-if [[ "$method" != "appliance" && ! "$method" =~ ^libvirt ]]; then
- echo "$0: test skipped because attach-method ($method) is not 'appliance' or 'libvirt'."
+if [[ "$method" != "appliance" ]]; then
+ echo "$0: test skipped because attach-method ($method) is not 'appliance'."
exit 77
fi