summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-11-20 17:54:36 +0200
committerVille Skyttä <ville.skytta@iki.fi>2011-11-20 17:55:39 +0200
commited1703497476eaf12e1d630caf4caa4aabc3acdc (patch)
tree8553cc5979d28a9b1368b3cdae0c9a051452304f /test
parentf0283e1c1b64202bb1adb9f44eac6fdfd80edece (diff)
downloadbash-completion-ed1703497476eaf12e1d630caf4caa4aabc3acdc.tar.gz
ccache: New completion.
Diffstat (limited to 'test')
-rw-r--r--test/completion/ccache.exp1
-rw-r--r--test/lib/completions/ccache.exp18
2 files changed, 19 insertions, 0 deletions
diff --git a/test/completion/ccache.exp b/test/completion/ccache.exp
new file mode 100644
index 00000000..4d88bf98
--- /dev/null
+++ b/test/completion/ccache.exp
@@ -0,0 +1 @@
+assert_source_completions ccache
diff --git a/test/lib/completions/ccache.exp b/test/lib/completions/ccache.exp
new file mode 100644
index 00000000..156c881a
--- /dev/null
+++ b/test/lib/completions/ccache.exp
@@ -0,0 +1,18 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "ccache -"
+sync_after_int
+
+
+teardown