summaryrefslogtreecommitdiff
path: root/test/lib/completions/chronyc.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/chronyc.exp')
-rw-r--r--test/lib/completions/chronyc.exp21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/lib/completions/chronyc.exp b/test/lib/completions/chronyc.exp
new file mode 100644
index 00000000..33458113
--- /dev/null
+++ b/test/lib/completions/chronyc.exp
@@ -0,0 +1,21 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "chronyc -"
+sync_after_int
+
+assert_complete_any "chronyc "
+sync_after_int
+
+
+teardown