diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-12-07 16:22:23 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-12-07 16:24:34 +0000 |
commit | d29304c1b486c94970aff0631e0bf91c745b0ef9 (patch) | |
tree | b598017751e5adb88c38e83147fa2604a9d77f91 /regressions/test-luks.sh | |
parent | ad2abf89c364d5ec73fb12af63b053637d99d757 (diff) | |
download | libguestfs-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/test-luks.sh')
-rwxr-xr-x | regressions/test-luks.sh | 5 |
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 |