summaryrefslogtreecommitdiff
path: root/tests/e2e/e2e-test-mail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e2e/e2e-test-mail.sh')
-rwxr-xr-xtests/e2e/e2e-test-mail.sh4
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