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.
This commit is contained in:
Richard W.M. Jones
2012-09-14 16:45:43 +01:00
parent 834747a85d
commit 5b02c8d0bc

View File

@@ -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