From f2abde576711980eacc099aece3742b2fcc2ffb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Hrdina?= Date: Thu, 17 Aug 2023 14:37:08 +0200 Subject: [PATCH] Fixing tests fixing issues with running on testing-farm /fuctionality/selftest /functionality/singlehost --- functionality/selftest/runtest.sh | 4 ++-- functionality/singlehost/main.fmf | 1 + functionality/singlehost/runtest.sh | 7 +------ 3 files changed, 4 insertions(+), 8 deletions(-) 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