From fbcaa750cbbe38d1b735781ae3994e42f802de2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Hrdina?= Date: Fri, 3 May 2024 13:56:24 +0200 Subject: [PATCH] Adjusting sanity-test for rhel10 --- Sanity/sanity-test/runtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"