From: Richard W.M. Jones Date: Tue, 7 Dec 2010 16:22:23 +0000 (+0000) Subject: ubuntu: Allow test-luks.sh to be bypassed to workaround Ubuntu bug. X-Git-Tag: 1.7.20~7 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=d29304c1b486c94970aff0631e0bf91c745b0ef9 ubuntu: Allow test-luks.sh to be bypassed to workaround Ubuntu bug. This is necessary because of too old cryptsetup on Ubuntu. --- diff --git a/regressions/test-luks.sh b/regressions/test-luks.sh index fe42d87..5b53bc8 100755 --- a/regressions/test-luks.sh +++ b/regressions/test-luks.sh @@ -20,6 +20,11 @@ set -e +[ -n "$SKIP_TEST_LUKS_SH" ] && { + echo "test-luks.sh skipped (environment variable set)" + exit 0 +} + rm -f test1.img ../fish/guestfish --keys-from-stdin <