Fixing tests
fixing issues with running on testing-farm /fuctionality/selftest /functionality/singlehost
This commit is contained in:
parent
822d4937d3
commit
f2abde5767
3 changed files with 4 additions and 8 deletions
|
|
@ -33,6 +33,7 @@ recommend:
|
|||
- procmail
|
||||
- mailx
|
||||
- nmap
|
||||
- s-nail
|
||||
duration: 30m
|
||||
enabled: true
|
||||
tag:
|
||||
|
|
|
|||
|
|
@ -81,14 +81,9 @@ rlJournalStart
|
|||
rlRun "nmap -p 25 localhost"
|
||||
|
||||
for i in `seq 1 $MAIL_SEND`; do
|
||||
if (rlIsRHEL '>=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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue