Adjusting sanity-test for rhel10

This commit is contained in:
František Hrdina 2024-05-03 13:56:24 +02:00
commit fbcaa750cb

View file

@ -39,9 +39,9 @@ rlJournalStart
rlPhaseStartTest
rlRun -s "iperf3 -c localhost" 1 "Client should fail when no server is listening."
if rlIsFedora; then
if rlIsFedora || rlIsRHELLike '>=10'; then
MESSAGE="iperf3: error - unable to connect to server - server may have stopped running or use a different port, firewall issue, etc.: Connection refused"
elif rlIsRHEL '>=9' || rlIsCentOS '>=9'; then
elif rlIsRHELLike '9'; then
MESSAGE="iperf3: error - unable to send control message: Bad file descriptor"
else
MESSAGE="iperf3: error - unable to connect to server: Connection refused"