diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-12-22 15:40:52 +0100 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-12-26 14:55:42 +0100 |
commit | 0f5eb825c5654a718c1f4f2fd3a9ac2f0efad395 (patch) | |
tree | 3272464139945bfea30211ad4410c886dc99b36b /tests/e2e/e2e-test.sh | |
parent | b225824648af4bb69356ed70969eb59fa203d5e6 (diff) |
[test] add script for checking the mail
Diffstat (limited to 'tests/e2e/e2e-test.sh')
-rwxr-xr-x | tests/e2e/e2e-test.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/e2e/e2e-test.sh b/tests/e2e/e2e-test.sh index 3e6d2bb..96c211d 100755 --- a/tests/e2e/e2e-test.sh +++ b/tests/e2e/e2e-test.sh @@ -52,9 +52,12 @@ while [[ $imap_pw == *"None"* ]]; do imap_pw=$(echo "$response" | head -n 1 | sed 's/ */ /g' | cut -d' ' -f 2) done -#echo "IMAP/SMTP PASSWD: $imap_pw" - $SWAKS $FROM_EXTERNAL_OPTS +echo "IMAP/SMTP PASSWD: $imap_pw" + + +# XXX get mail we just sent. +./getmail --mailbox INBOX --subject "my_unique_subject" $user $imap_pw |