From 94a23187b290eaa39531f46289586c432ad59839 Mon Sep 17 00:00:00 2001 From: Wolfgang Ocker Date: Mon, 2 Jan 2017 17:43:10 +0100 Subject: [PATCH] Fix #443 - reuse smtp-auth-login.txt when testing rimap auth - remove sasl-imap-smtp-auth.txt again Signed-off-by: Wolfgang Ocker --- test/auth/sasl-imap-smtp-auth.txt | 5 ----- test/tests.bats | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 test/auth/sasl-imap-smtp-auth.txt diff --git a/test/auth/sasl-imap-smtp-auth.txt b/test/auth/sasl-imap-smtp-auth.txt deleted file mode 100644 index 62a6bcf3..00000000 --- a/test/auth/sasl-imap-smtp-auth.txt +++ /dev/null @@ -1,5 +0,0 @@ -EHLO mail -AUTH LOGIN -dXNlcjFAbG9jYWxob3N0LmxvY2FsZG9tYWlu -bXlwYXNzd29yZA== -QUIT diff --git a/test/tests.bats b/test/tests.bats index f98891db..3872111a 100644 --- a/test/tests.bats +++ b/test/tests.bats @@ -905,6 +905,6 @@ } @test "checking saslauthd: rimap smtp authentication" { - run docker exec mail_with_imap /bin/sh -c "nc -w 5 0.0.0.0 25 < /tmp/docker-mailserver-test/auth/sasl-imap-smtp-auth.txt | grep 'Authentication successful'" + run docker exec mail_with_imap /bin/sh -c "nc -w 5 0.0.0.0 25 < /tmp/docker-mailserver-test/auth/smtp-auth-login.txt | grep 'Authentication successful'" [ "$status" -eq 0 ] }