diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2017-05-11 15:53:24 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2017-06-07 12:31:21 +0200 |
commit | bfe985cc18214bcf7476faf10c7c07d40c83cdb0 (patch) | |
tree | 83a7b01b21735da904e5e940688ca0b8099f7337 /tests/e2e/e2e-test-mail.sh | |
parent | b13470128c8397c1c18ea58f5da66fd7045d35b0 (diff) |
[tests] improve vpn e2e test
- add invite code
Diffstat (limited to 'tests/e2e/e2e-test-mail.sh')
-rwxr-xr-x | tests/e2e/e2e-test-mail.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/e2e/e2e-test-mail.sh b/tests/e2e/e2e-test-mail.sh index 8818147a..7039e648 100755 --- a/tests/e2e/e2e-test-mail.sh +++ b/tests/e2e/e2e-test-mail.sh @@ -44,6 +44,7 @@ PROVIDER='ci.leap.se' INVITE_CODE=${BITMASK_INVITE_CODE:?"Need to set BITMASK_INVITE_CODE non-empty"} BCTL='bitmaskctl' +POLKIT='lxpolkit' LEAP_HOME="$HOME/.config/leap" MAIL_UUID=$(uuidgen) @@ -52,6 +53,9 @@ user="${username}@${PROVIDER}" pw="$(head -c 10 < /dev/urandom | base64)" SWAKS="swaks --h-Subject $MAIL_UUID --silent 2 --helo ci.leap.se -f ci@leap.se -t $user" +# Start the polkit authentication agent +"$POLKIT" & + # Stop any previously started bitmaskd # and start a new instance "$BCTL" stop |