summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2023-01-24 12:57:54 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2023-01-24 12:57:54 +0100
commit64e5dbe8a0c697f796649db5df701b5c52f644a9 (patch)
tree7691bff1ef508c735cdd1afe98088ff24ac963de
parent3b7bff05a80e768bff3910b9f49124636960eecd (diff)
downloadalpine-conf-64e5dbe8a0c697f796649db5df701b5c52f644a9.zip
tests: fix setup-alpine openrc test
We may call openrc with `-n`
-rwxr-xr-xtests/setup_alpine_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/setup_alpine_test b/tests/setup_alpine_test
index 014dd7d..11fce8e 100755
--- a/tests/setup_alpine_test
+++ b/tests/setup_alpine_test
@@ -102,7 +102,7 @@ setup_alpine_restart_network_body() {
echo down >sys/class/net/eth0/operstate
SSH_CONNECTION="::1 54984 ::1 22" atf_check -s exit:0 \
- -o match:"openrc boot" \
+ -o match:"openrc( -n)? boot" \
-e empty \
setup-alpine -q
atf_check -s exit:3 \