tests: Fix bridge-utils replacement
Typo in 'ip link add', 'type' argument was missing. Also update 'Requires:' line in Makefile. Related: RHBZ#1954581
This commit is contained in:
parent
099ca6a1b5
commit
0f36a69aec
@ -53,7 +53,7 @@ $(METADATA): Makefile
|
|||||||
@echo "Type: Regression" >> $(METADATA)
|
@echo "Type: Regression" >> $(METADATA)
|
||||||
@echo "TestTime: 5m" >> $(METADATA)
|
@echo "TestTime: 5m" >> $(METADATA)
|
||||||
@echo "RunFor: iptables" >> $(METADATA)
|
@echo "RunFor: iptables" >> $(METADATA)
|
||||||
@echo "Requires: iptables bridge-utils ipset" >> $(METADATA)
|
@echo "Requires: iptables iproute ipset" >> $(METADATA)
|
||||||
@echo "Priority: Normal" >> $(METADATA)
|
@echo "Priority: Normal" >> $(METADATA)
|
||||||
@echo "License: GPLv2+" >> $(METADATA)
|
@echo "License: GPLv2+" >> $(METADATA)
|
||||||
@echo "Confidential: no" >> $(METADATA)
|
@echo "Confidential: no" >> $(METADATA)
|
||||||
|
@ -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 "ip link add dev testbr" 0 "create bridge iface"
|
rlRun "ip link add dev testbr type bridge" 0 "create bridge iface"
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest
|
rlPhaseStartTest
|
||||||
|
Loading…
Reference in New Issue
Block a user