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.'