summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIgor Murzov <e-mail@date.by>2011-11-15 23:46:25 +0300
committerIgor Murzov <e-mail@date.by>2011-11-16 01:56:07 +0300
commit9ab064fb1785d828b6d93a27b9326b6ba156ecaa (patch)
treeced0ceb48bd3638bbc336e0fa5220d100531cc1e /test
parent6843989baf47e80218d89ee86b7f699c90e73be0 (diff)
downloadbash-completion-9ab064fb1785d828b6d93a27b9326b6ba156ecaa.tar.gz
pidof: Don't check OS type (Alioth #311403)
Also drop non-existent option arguments completion. Reviewed-by: Ville Skyttä <ville.skytta@iki.fi>
Diffstat (limited to 'test')
-rw-r--r--test/completion/pidof.exp1
-rw-r--r--test/lib/completions/pidof.exp20
2 files changed, 21 insertions, 0 deletions
diff --git a/test/completion/pidof.exp b/test/completion/pidof.exp
new file mode 100644
index 00000000..c66ee9f9
--- /dev/null
+++ b/test/completion/pidof.exp
@@ -0,0 +1 @@
+assert_source_completions pidof
diff --git a/test/lib/completions/pidof.exp b/test/lib/completions/pidof.exp
new file mode 100644
index 00000000..8fdab978
--- /dev/null
+++ b/test/lib/completions/pidof.exp
@@ -0,0 +1,20 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "pidof "
+
+
+sync_after_int
+
+
+teardown