Fix tests
This commit is contained in:
parent
4e4e28e554
commit
66b86fa382
4 changed files with 8 additions and 7 deletions
|
|
@ -68,7 +68,7 @@ rlJournalStart
|
|||
|
||||
service postfix status --no-pager && rlServiceStop postfix
|
||||
service sendmail status --no-pager && rlServiceStop sendmail
|
||||
rlRun "alternatives --set mta /usr/sbin/sendmail.sendmail"
|
||||
rlRun "alternatives --set mta $(rpm --eval '%{_sbindir}')/sendmail.sendmail"
|
||||
|
||||
rlRun "cd /etc/mail"
|
||||
rlRun "sudo make"
|
||||
|
|
@ -112,7 +112,7 @@ EOF
|
|||
rlRun "/usr/sbin/sendmail -q"
|
||||
sleep 30
|
||||
|
||||
if (rlIsRHEL '>=9' || rlIsCentOS '>=9' || rlIsFedora); then
|
||||
if (rlIsRHELLike '>=9' || rlIsFedora); then
|
||||
rlRun "cat /var/spool/mail/$USER1 > $mail_tmp"
|
||||
else
|
||||
mail << EOF > /a.temp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue