summaryrefslogtreecommitdiff
path: root/test/system/005-scfilter
diff options
context:
space:
mode:
Diffstat (limited to 'test/system/005-scfilter')
-rwxr-xr-xtest/system/005-scfilter17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/system/005-scfilter b/test/system/005-scfilter
new file mode 100755
index 0000000..778a688
--- /dev/null
+++ b/test/system/005-scfilter
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+
+. ./test.common
+
+check_chronyd_features SCFILTER || test_skip "SCFILTER support disabled"
+
+test_start "system call filter"
+
+for extra_chronyd_options in "-F -1" "-F 1"; do
+ start_chronyd || test_fail
+ wait_for_sync || test_fail
+ stop_chronyd || test_fail
+ check_chronyd_messages || test_fail
+ check_chronyd_files || test_fail
+done
+
+test_pass