summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-10-06 21:34:12 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-10-06 23:15:48 +0100
commit013fb91a6974dfcb493fb9ccffb23329788f4976 (patch)
treef309d68bc8ad4073aa358b7313e80f484a6f4451 /tests
parent9bd3d5bc6d6a3be517da5faf9e7c8a84394ca0f9 (diff)
downloadlibguestfs-013fb91a6974dfcb493fb9ccffb23329788f4976.tar.gz
libguestfs-013fb91a6974dfcb493fb9ccffb23329788f4976.tar.xz
libguestfs-013fb91a6974dfcb493fb9ccffb23329788f4976.zip
tests: Fix rhbz690819.sh to skip when attach-method is libvirt.
This sets the iface parameter (implicitly), which is not supported yet by the libvirt backend. This updates commit 8e198dc1c50fcdba6720b23da478ef75cc979733.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/regressions/rhbz690819.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/regressions/rhbz690819.sh b/tests/regressions/rhbz690819.sh
index 4e79f4be..2e49cb70 100755
--- a/tests/regressions/rhbz690819.sh
+++ b/tests/regressions/rhbz690819.sh
@@ -40,6 +40,12 @@ if [ -n "$SKIP_TEST_RHBZ690819_SH" ]; then
exit 77
fi
+method="$(../../fish/guestfish get-attach-method)"
+if [[ "$method" =~ ^libvirt ]]; then
+ echo "$0: test skipped because attach-method ($method) is 'libvirt'."
+ exit 77
+fi
+
rm -f test.img
../../fish/guestfish sparse test.img 100M