From 8efeaa4822938208dc8580f7bccbba37c9c41159 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Oct 03 2014 20:41:46 +0000 Subject: minor change to postfix test ('=' --> '==') --- diff --git a/tests/p_postfix/20_postfix_mta.sh b/tests/p_postfix/20_postfix_mta.sh index 051a42b..661c91d 100755 --- a/tests/p_postfix/20_postfix_mta.sh +++ b/tests/p_postfix/20_postfix_mta.sh @@ -19,7 +19,7 @@ if [[ $mail =~ $regex ]] DELIVERED=$? fi -if ([ $MTA_ACCEPT = 0 ] && [ $DELIVERED = 0 ]) +if ([ $MTA_ACCEPT == 0 ] && [ $DELIVERED == 0 ]) then ret_val=0 t_Log 'Mail has been delivered and removed from queue.' diff --git a/tests/p_postfix/30_postfix_mta_ehlo.sh b/tests/p_postfix/30_postfix_mta_ehlo.sh index ea5433f..0a84eb3 100755 --- a/tests/p_postfix/30_postfix_mta_ehlo.sh +++ b/tests/p_postfix/30_postfix_mta_ehlo.sh @@ -19,7 +19,7 @@ if [[ $mail =~ $regex ]] DELIVERED=$? fi -if ([ $MTA_ACCEPT = 0 ] && [ $DELIVERED = 0 ]) +if ([ $MTA_ACCEPT == 0 ] && [ $DELIVERED == 0 ]) then ret_val=0 t_Log 'Mail has been delivered and removed from queue.'