diff --git a/Sanity/sanity-test/runtest.sh b/Sanity/sanity-test/runtest.sh index 95b7147..d80055d 100755 --- a/Sanity/sanity-test/runtest.sh +++ b/Sanity/sanity-test/runtest.sh @@ -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"