tests: Fix spurious failure on CentOS Stream 8
This commit is contained in:
parent
4109868d74
commit
7a0d648eb5
@ -40,9 +40,9 @@ rlJournalStart
|
|||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest
|
rlPhaseStartTest
|
||||||
RULE="-A INPUT -p dccp -m dccp --dccp-type RESET,INVALID -j LOG"
|
RULE="-A INPUT -p dccp -m dccp --dccp-types RESET,INVALID -j LOG"
|
||||||
if rlIsRHEL '>6' || rlIsFedora; then
|
if rlIsRHEL '<7'; then
|
||||||
RULE="${RULE/type/types}" # it is exported under other name
|
RULE="${RULE/types/type}" # it is exported under other name
|
||||||
fi
|
fi
|
||||||
rlLogInfo "using rule '$RULE'"
|
rlLogInfo "using rule '$RULE'"
|
||||||
rlRun "iptables $RULE" 0 "add rule for ipv4"
|
rlRun "iptables $RULE" 0 "add rule for ipv4"
|
||||||
|
Loading…
Reference in New Issue
Block a user