diff options
-rw-r--r-- | setup-ntp.in | 4 | ||||
-rwxr-xr-x | tests/setup_ntp_test | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/setup-ntp.in b/setup-ntp.in index 502aa4a..af35e05 100644 --- a/setup-ntp.in +++ b/setup-ntp.in @@ -59,5 +59,5 @@ case "$resp" in esac [ -z "$pkgs" ] || $MOCK apk add --quiet $pkgs -$MOCK rc-update add $svc default -$MOCK rc-service $svc start +rc-update add $svc default +rc-service $svc start diff --git a/tests/setup_ntp_test b/tests/setup_ntp_test index 0393794..8294232 100755 --- a/tests/setup_ntp_test +++ b/tests/setup_ntp_test @@ -23,23 +23,23 @@ setup_ntp_invalid_body() { setup_ntp_busybox_body() { init_env atf_check -s exit:0 \ - -o match:"rc-update add ntpd default" \ - -o match:"rc-service ntpd start" \ + -o match:"service ntpd added" \ + -o match:"Starting ntpd" \ setup-ntp busybox } setup_ntp_chrony_body() { init_env atf_check -s exit:0 \ - -o match:"rc-update add chronyd default" \ - -o match:"rc-service chronyd start" \ + -o match:"service chronyd added" \ + -o match:"Starting chronyd" \ setup-ntp chrony } setup_ntp_openntpd_body() { init_env atf_check -s exit:0 \ - -o match:"rc-update add openntpd default" \ - -o match:"rc-service openntpd start" \ + -o match:"service openntpd added" \ + -o match:"Starting openntpd" \ setup-ntp openntpd } |