From d29304c1b486c94970aff0631e0bf91c745b0ef9 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 7 Dec 2010 16:22:23 +0000 Subject: ubuntu: Allow test-luks.sh to be bypassed to workaround Ubuntu bug. This is necessary because of too old cryptsetup on Ubuntu. --- regressions/test-luks.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'regressions') diff --git a/regressions/test-luks.sh b/regressions/test-luks.sh index fe42d877..5b53bc8c 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 <