summaryrefslogtreecommitdiff
path: root/test/lib/completions/wc.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/wc.exp')
-rw-r--r--test/lib/completions/wc.exp22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/lib/completions/wc.exp b/test/lib/completions/wc.exp
new file mode 100644
index 00000000..8ad2bf8d
--- /dev/null
+++ b/test/lib/completions/wc.exp
@@ -0,0 +1,22 @@
+proc setup {} {
+ save_env
+}; # setup()
+
+
+proc teardown {} {
+ assert_env_unmodified
+}; # teardown()
+
+
+setup
+
+
+if {[assert_exec {wc --help} "" "" "unsupported"]} {
+ assert_complete_any "wc --"
+}; # if
+
+
+sync_after_int
+
+
+teardown