summaryrefslogtreecommitdiff
path: root/tests/setup_ntp_test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/setup_ntp_test')
-rwxr-xr-xtests/setup_ntp_test17
1 files changed, 16 insertions, 1 deletions
diff --git a/tests/setup_ntp_test b/tests/setup_ntp_test
index 8294232..6746277 100755
--- a/tests/setup_ntp_test
+++ b/tests/setup_ntp_test
@@ -6,7 +6,9 @@ init_tests \
setup_ntp_invalid \
setup_ntp_busybox \
setup_ntp_chrony \
- setup_ntp_openntpd
+ setup_ntp_openntpd \
+ setup_ntp_none \
+ setup_ntp_none_backwards_compat
setup_ntp_usage_body() {
test_usage setup-ntp
@@ -43,3 +45,16 @@ setup_ntp_openntpd_body() {
-o match:"Starting openntpd" \
setup-ntp openntpd
}
+
+setup_ntp_none_body() {
+ init_env
+ atf_check -s exit:0 \
+ setup-ntp none
+}
+
+setup_ntp_none_backwards_compat_body() {
+ init_env
+ atf_check -s exit:0 \
+ setup-ntp -c none
+}
+