summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-09-29 22:57:59 +0300
committerVille Skyttä <ville.skytta@iki.fi>2011-09-29 22:57:59 +0300
commite1a3492261d0d9fed79d72cbe23839e7fb70f396 (patch)
treef717ff0ad7626df0baea0c0b9bed8231a0ebec5d /test
parent2014d3b45d0a3f7abbe494b5f4861d4e40e461be (diff)
downloadbash-completion-e1a3492261d0d9fed79d72cbe23839e7fb70f396.tar.gz
prelink: New completion.
Diffstat (limited to 'test')
-rw-r--r--test/completion/prelink.exp1
-rw-r--r--test/lib/completions/prelink.exp21
2 files changed, 22 insertions, 0 deletions
diff --git a/test/completion/prelink.exp b/test/completion/prelink.exp
new file mode 100644
index 00000000..d1fbb8ee
--- /dev/null
+++ b/test/completion/prelink.exp
@@ -0,0 +1 @@
+assert_source_completions prelink
diff --git a/test/lib/completions/prelink.exp b/test/lib/completions/prelink.exp
new file mode 100644
index 00000000..4a493667
--- /dev/null
+++ b/test/lib/completions/prelink.exp
@@ -0,0 +1,21 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "prelink "
+sync_after_int
+
+assert_complete_any "prelink -"
+sync_after_int
+
+
+teardown