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-09 21:13:09 +0100 |
commit | 251b131e0a55cce21f6ee2240315903e34c4ffe1 (patch) | |
tree | b9849fdbb437bcf1a1dd14fa5cea4f4d9e360b06 /tests/regressions | |
parent | 42475dd21fbdc551137fe815efadf08a87729642 (diff) | |
download | libguestfs-251b131e0a55cce21f6ee2240315903e34c4ffe1.tar.gz libguestfs-251b131e0a55cce21f6ee2240315903e34c4ffe1.tar.xz libguestfs-251b131e0a55cce21f6ee2240315903e34c4ffe1.zip |
tests: Allow regression test for bug 690819 to be skipped.
Diffstat (limited to 'tests/regressions')
-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 |