summaryrefslogtreecommitdiff
path: root/tests/e2e/e2e-test.sh
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-12-22 15:40:52 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2016-12-26 14:55:42 +0100
commit0f5eb825c5654a718c1f4f2fd3a9ac2f0efad395 (patch)
tree3272464139945bfea30211ad4410c886dc99b36b /tests/e2e/e2e-test.sh
parentb225824648af4bb69356ed70969eb59fa203d5e6 (diff)
[test] add script for checking the mail
Diffstat (limited to 'tests/e2e/e2e-test.sh')
-rwxr-xr-xtests/e2e/e2e-test.sh7
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