summaryrefslogtreecommitdiff
path: root/test/lib/completions/kcov.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/kcov.exp')
-rw-r--r--test/lib/completions/kcov.exp27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/lib/completions/kcov.exp b/test/lib/completions/kcov.exp
new file mode 100644
index 00000000..c39f53e7
--- /dev/null
+++ b/test/lib/completions/kcov.exp
@@ -0,0 +1,27 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "kcov "
+
+
+sync_after_int
+
+
+set test "--exclude-patter<TAB> should complete \"--exclude-pattern=\""
+assert_complete "--exclude-pattern=" "kcov --exclude-patter" $test -nospace
+
+
+sync_after_int
+
+
+teardown