ubuntu: Allow test-luks.sh to be bypassed to workaround Ubuntu bug.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 7 Dec 2010 16:22:23 +0000 (16:22 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 7 Dec 2010 16:24:34 +0000 (16:24 +0000)
This is necessary because of too old cryptsetup on Ubuntu.

regressions/test-luks.sh

index fe42d87..5b53bc8 100755 (executable)
 
 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 <<EOF