diff --git a/tests/p_postfix/20_postfix_mta.sh b/tests/p_postfix/20_postfix_mta.sh index 4c26cdc..3103bf2 100755 --- a/tests/p_postfix/20_postfix_mta.sh +++ b/tests/p_postfix/20_postfix_mta.sh @@ -2,6 +2,7 @@ # Author: Christoph Galuschka t_Log "Running $0 - postfix can accept and deliver local email." +ret_val=1 # send mail to localhost mail=$(echo -e "helo localhost\nmail from: root@localhost\nrcpt to: root@localhost\ndata\nt_functional test\n.\nquit\n" | nc -w 5 localhost 25 | grep queued) diff --git a/tests/p_postfix/30_postfix_mta_ehlo.sh b/tests/p_postfix/30_postfix_mta_ehlo.sh index a7f9e85..9f7fdb6 100755 --- a/tests/p_postfix/30_postfix_mta_ehlo.sh +++ b/tests/p_postfix/30_postfix_mta_ehlo.sh @@ -2,6 +2,7 @@ # Author: Christoph Galuschka t_Log "Running $0 - postfix can accept and deliver local email using ESMTP." +ret_val=1 # send mail to localhost mail=$(echo -e "ehlo localhost\nmail from: root@localhost\nrcpt to: root@localhost\ndata\nt_functional test\n.\nquit\n" | nc -w 5 localhost 25 | grep queued) diff --git a/tests/p_sendmail/20_sendmail_mta.sh b/tests/p_sendmail/20_sendmail_mta.sh index 59116a1..b972549 100755 --- a/tests/p_sendmail/20_sendmail_mta.sh +++ b/tests/p_sendmail/20_sendmail_mta.sh @@ -2,6 +2,7 @@ # Author: Christoph Galuschka t_Log "Running $0 - sendmail can accept and deliver local email." +ret_val=1 # send mail to localhost mail=$(echo -e "helo localhost\nmail from: root@localhost\nrcpt to: root@localhost\ndata\nt_functional test\n.\nquit\n" | nc -w 5 localhost 25 | grep accepted) diff --git a/tests/p_sendmail/30_sendmail_mta_ehlo.sh b/tests/p_sendmail/30_sendmail_mta_ehlo.sh index 0906b2a..106a3e7 100755 --- a/tests/p_sendmail/30_sendmail_mta_ehlo.sh +++ b/tests/p_sendmail/30_sendmail_mta_ehlo.sh @@ -2,6 +2,7 @@ # Author: Christoph Galuschka t_Log "Running $0 - sendmail can accept and deliver local email." +ret_val=1 # send mail to localhost mail=$(echo -e "ehlo localhost\nmail from: root@localhost\nrcpt to: root@localhost\ndata\nt_functional test\n.\nquit\n" | nc -w 5 localhost 25 | grep accepted)