tests: Drop dependency on non-existing bridge-utils
Replace the calls by equivalent ones to 'ip'. Related: RHBZ#1954581
This commit is contained in:
parent
18fd73d348
commit
099ca6a1b5
@ -38,7 +38,7 @@ rlJournalStart
|
|||||||
rlRun "pushd $TmpDir"
|
rlRun "pushd $TmpDir"
|
||||||
rlRun "ip6tables-save > ip6tables.backup"
|
rlRun "ip6tables-save > ip6tables.backup"
|
||||||
rlRun "iptables-save > iptables.backup"
|
rlRun "iptables-save > iptables.backup"
|
||||||
rlRun "brctl addbr testbr" 0 "create bridge iface"
|
rlRun "ip link add dev testbr" 0 "create bridge iface"
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest
|
rlPhaseStartTest
|
||||||
@ -75,7 +75,7 @@ rlJournalStart
|
|||||||
rlRun "ip6tables-restore < ip6tables.backup"
|
rlRun "ip6tables-restore < ip6tables.backup"
|
||||||
rlRun "iptables-restore < iptables.backup"
|
rlRun "iptables-restore < iptables.backup"
|
||||||
rlRun "ip link set down dev testbr"
|
rlRun "ip link set down dev testbr"
|
||||||
rlRun "brctl delbr testbr" 0 "remove bridge iface"
|
rlRun "ip link del testbr" 0 "remove bridge iface"
|
||||||
rlRun "ipset destroy ipsetv6" 0 "remove ipv6 ipset"
|
rlRun "ipset destroy ipsetv6" 0 "remove ipv6 ipset"
|
||||||
rlRun "ipset destroy ipsetv4" 0 "remove ipv4 ipset"
|
rlRun "ipset destroy ipsetv4" 0 "remove ipv4 ipset"
|
||||||
rlRun "popd"
|
rlRun "popd"
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
- iptables-services # multiple tests need iptables/ip6tables config files
|
- iptables-services # multiple tests need iptables/ip6tables config files
|
||||||
- initscripts # multiple tests need system command
|
- initscripts # multiple tests need system command
|
||||||
- libcgroup-tools # backport-iptables-add-libxt-cgroup-frontend needs cg* commands
|
- libcgroup-tools # backport-iptables-add-libxt-cgroup-frontend needs cg* commands
|
||||||
- bridge-utils # ip6tables-do-not-accept-dst-or-src-direction-on-ip6sets needs brctl command
|
|
||||||
- ipset # multiple tests need ipset command
|
- ipset # multiple tests need ipset command
|
||||||
- strace # xtables-tools-locking-vulnerable-to-local-DoS needs strace command
|
- strace # xtables-tools-locking-vulnerable-to-local-DoS needs strace command
|
||||||
- policycoreutils # initscript-sanity needs restorecon command
|
- policycoreutils # initscript-sanity needs restorecon command
|
||||||
|
Loading…
Reference in New Issue
Block a user