diff --git a/tests/p_exim/20_exim_mta_helo-test.sh b/tests/p_exim/20_exim_mta_helo-test.sh index 0e06dd3..6953271 100755 --- a/tests/p_exim/20_exim_mta_helo-test.sh +++ b/tests/p_exim/20_exim_mta_helo-test.sh @@ -4,6 +4,7 @@ t_Log "Running $0 - exim can accept and deliver local email." if [ $centos_ver == '5' ] + then ret_val=1 # send mail to localhost @@ -14,8 +15,6 @@ if [ $centos_ver == '5' ] t_Log 'Mail has been queued successfully' fi -250 OK id=1XaR7Q-0005D8-Cm - regex='250\ OK\ id\=([0-9A-Za-z-]*)' if [[ $mail =~ $regex ]] then @@ -28,7 +27,7 @@ if [ $centos_ver == '5' ] ret_val=0 fi else - t_Log t_Log "This is not a C5 system - skipping" + t_Log "This is not a C5 system - skipping" ret_val=0 fi