diff options
-rwxr-xr-x | tests/e2e/e2e-test.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/e2e/e2e-test.sh b/tests/e2e/e2e-test.sh index dea4c00d..2ddcd71b 100755 --- a/tests/e2e/e2e-test.sh +++ b/tests/e2e/e2e-test.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Dependencies +# - swaks +# # Usage # # In order to send authenticated mail to the tmp_user you need to @@ -39,11 +42,10 @@ SWAKS="swaks -t $user --h-Subject $MAIL_UUID --silent 2" # and start a new instance "$BCTL" stop -rm -rf "$LEAP_HOME" +[ -d "$LEAP_HOME" ] && rm -rf "$LEAP_HOME" "$BCTL" start - # Register a new user "$BCTL" user create "$user" --pass "$pw" |