From bfe985cc18214bcf7476faf10c7c07d40c83cdb0 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 11 May 2017 15:53:24 +0200 Subject: [tests] improve vpn e2e test - add invite code --- tests/e2e/e2e-test-mail.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/e2e/e2e-test-mail.sh') diff --git a/tests/e2e/e2e-test-mail.sh b/tests/e2e/e2e-test-mail.sh index 8818147..7039e64 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 -- cgit v1.2.3