summaryrefslogtreecommitdiffstats
path: root/regressions
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-07 16:22:23 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-07 16:24:34 +0000
commitd29304c1b486c94970aff0631e0bf91c745b0ef9 (patch)
treeb598017751e5adb88c38e83147fa2604a9d77f91 /regressions
parentad2abf89c364d5ec73fb12af63b053637d99d757 (diff)
downloadlibguestfs-d29304c1b486c94970aff0631e0bf91c745b0ef9.tar.gz
libguestfs-d29304c1b486c94970aff0631e0bf91c745b0ef9.tar.xz
libguestfs-d29304c1b486c94970aff0631e0bf91c745b0ef9.zip
ubuntu: Allow test-luks.sh to be bypassed to workaround Ubuntu bug.
This is necessary because of too old cryptsetup on Ubuntu.
Diffstat (limited to 'regressions')
-rwxr-xr-xregressions/test-luks.sh5
1 files changed, 5 insertions, 0 deletions
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 <<EOF