diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-09 21:13:09 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-21 13:02:20 +0100 |
commit | 4696d366f6cca4cbf401d9a78f833cbb686f1e5e (patch) | |
tree | 54ca4ede5b51ecf19b9b5bea131f5484db6f0c17 | |
parent | bda599321cbe23b016a5fe18fe9ff319780bf1ea (diff) | |
download | libguestfs-4696d366f6cca4cbf401d9a78f833cbb686f1e5e.tar.gz libguestfs-4696d366f6cca4cbf401d9a78f833cbb686f1e5e.tar.xz libguestfs-4696d366f6cca4cbf401d9a78f833cbb686f1e5e.zip |
tests: Allow regression test for bug 690819 to be skipped.
(cherry picked from commit 251b131e0a55cce21f6ee2240315903e34c4ffe1)
-rwxr-xr-x | tests/regressions/rhbz690819.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/regressions/rhbz690819.sh b/tests/regressions/rhbz690819.sh index a706285c..ff4430f9 100755 --- a/tests/regressions/rhbz690819.sh +++ b/tests/regressions/rhbz690819.sh @@ -20,6 +20,18 @@ # mkfs fails creating a filesytem on a disk device when using a disk # with 'ide' interface +# Allow this test to be skipped (eg. on ppc64) +# +# What happens on ppc64 is that we ask 'qemu-system-ppc64 -M pseries' +# to create an IDE disk. It either creates it, or ignores it (not +# sure which), but the appliance fails to see the disk at all. Thus +# logical device /dev/sda points to the appliance root filesystem, and +# the mkfs fails. It's not clear how to solve this cleanly. XXX +[ -n "$SKIP_TEST_RHBZ690819_SH" ] && { + echo "$0 skipped (environment variable set)" + exit 0 +} + set -e export LANG=C |