From 4696d366f6cca4cbf401d9a78f833cbb686f1e5e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 9 Jun 2012 21:13:09 +0100 Subject: tests: Allow regression test for bug 690819 to be skipped. (cherry picked from commit 251b131e0a55cce21f6ee2240315903e34c4ffe1) --- tests/regressions/rhbz690819.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit