summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-09-29 23:11:31 +0300
committerVille Skyttä <ville.skytta@iki.fi>2011-09-29 23:11:31 +0300
commitb9a5f508e2b2ed9e4a06b2adae254debcc4a749a (patch)
tree982d05bcb5971dda8b68b8915b36eaf9e1a7b02e /test
parente1a3492261d0d9fed79d72cbe23839e7fb70f396 (diff)
downloadbash-completion-b9a5f508e2b2ed9e4a06b2adae254debcc4a749a.tar.gz
chrpath: New completion.
Diffstat (limited to 'test')
-rw-r--r--test/completion/chrpath.exp1
-rw-r--r--test/lib/completions/chrpath.exp21
2 files changed, 22 insertions, 0 deletions
diff --git a/test/completion/chrpath.exp b/test/completion/chrpath.exp
new file mode 100644
index 00000000..eee81ec7
--- /dev/null
+++ b/test/completion/chrpath.exp
@@ -0,0 +1 @@
+assert_source_completions chrpath
diff --git a/test/lib/completions/chrpath.exp b/test/lib/completions/chrpath.exp
new file mode 100644
index 00000000..311628eb
--- /dev/null
+++ b/test/lib/completions/chrpath.exp
@@ -0,0 +1,21 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "chrpath "
+sync_after_int
+
+assert_complete_any "chrpath -"
+sync_after_int
+
+
+teardown