Fix #443 - reuse smtp-auth-login.txt when testing rimap auth

- remove sasl-imap-smtp-auth.txt again

Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
This commit is contained in:
Wolfgang Ocker 2017-01-02 17:43:10 +01:00
parent 99c13cbfde
commit 94a23187b2
2 changed files with 1 additions and 6 deletions

View File

@ -1,5 +0,0 @@
EHLO mail
AUTH LOGIN
dXNlcjFAbG9jYWxob3N0LmxvY2FsZG9tYWlu
bXlwYXNzd29yZA==
QUIT

View File

@ -905,6 +905,6 @@
} }
@test "checking saslauthd: rimap smtp authentication" { @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 ] [ "$status" -eq 0 ]
} }