summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-07-06 09:05:20 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-07-06 09:06:39 +0200
commit481dfad3fe98a2da1f7c1a11c2f9ba525c95eb32 (patch)
treede3bdbb6ef4e68d7349b7c9ffd2eeb3cd9569f5d /tests
parente9c6302edf1ea5216e43dc7268587f24076d0318 (diff)
downloadalpine-conf-481dfad3fe98a2da1f7c1a11c2f9ba525c95eb32.zip
setup-interfaces: install bonding/bridge pkgs
The ifupdown-ng implementations are apparently just stubs. Partially reverts commit e9c6302edf1e (setup-interface: avoid install bridge/bonding with ifupdown-ng)
Diffstat (limited to 'tests')
-rwxr-xr-xtests/setup_interfaces_test12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/setup_interfaces_test b/tests/setup_interfaces_test
index e69517e..c189918 100755
--- a/tests/setup_interfaces_test
+++ b/tests/setup_interfaces_test
@@ -7,8 +7,8 @@ init_tests \
setup_interfaces_interactive_vlan \
setup_interfaces_interactive_vlan_ng \
setup_interfaces_interactive_vlan0_ng \
- setup_interfaces_interactive_br0_ng \
- setup_interfaces_interactive_bond0_ng
+ setup_interfaces_interactive_br0 \
+ setup_interfaces_interactive_bond0
setup_interfaces_usage_body() {
test_usage setup-interfaces
@@ -105,7 +105,7 @@ setup_interfaces_interactive_vlan0_ng_body() {
setup-interfaces <answers
}
-setup_interfaces_interactive_br0_ng_body() {
+setup_interfaces_interactive_br0_body() {
init_env
create_fake_ifaces lo eth0
@@ -126,11 +126,11 @@ setup_interfaces_interactive_br0_ng_body() {
)>answers
atf_check -s exit:0 \
-o match:"Available bridge ports are: eth0" \
- -o not-match:"apk add.*bridge" \
+ -o match:"apk add.*bridge" \
setup-interfaces <answers
}
-setup_interfaces_interactive_bond0_ng_body() {
+setup_interfaces_interactive_bond0_body() {
init_env
create_fake_ifaces lo eth0
@@ -149,6 +149,6 @@ setup_interfaces_interactive_bond0_ng_body() {
)>answers
atf_check -s exit:0 \
-o match:"Available interfaces are: eth0" \
- -o not-match:"apk add.*bonding" \
+ -o match:"apk add.*bonding" \
setup-interfaces <answers
}