diff --git a/functionality/selftest/runtest.sh b/functionality/selftest/runtest.sh index 74f2e89..235e3c5 100755 --- a/functionality/selftest/runtest.sh +++ b/functionality/selftest/runtest.sh @@ -101,7 +101,7 @@ EOF #################### TEST PHASE #################### rlPhaseStartTest cat > $DIR/to_us << EOF -To: $USER1@localhost +To: $USER1@localhost.localdomain From: petr@here.cz Subject: Ein Test @@ -116,7 +116,7 @@ EOF rlAssertGrep 'MAIL From:=9' || rlIsCentOS '>=9' || rlIsFedora); then - rlRun "echo -e \"Subject: TEST\\\nThis is $i. test message\" | sendmail -v $USER1@localhost" 0 "Sending email" - else - mail -s test_message_subject $USER1@localhost << EOF + mail -s test_message_subject $USER1@localhost.localdomain << EOF This is $i. test message EOF - fi - sleep 0.4 done sleep 60