ubuntu: Allow test-luks.sh to be bypassed to workaround Ubuntu bug.
[libguestfs.git] / 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