summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-09-28 19:04:55 +0300
committerVille Skyttä <ville.skytta@iki.fi>2011-09-28 19:04:55 +0300
commit2014d3b45d0a3f7abbe494b5f4861d4e40e461be (patch)
tree98779e28e12de63482371f42c03d7ba1396a1076 /test
parent89b7923cb8247e4bd1fa7d01c235c88d0e45cd24 (diff)
downloadbash-completion-2014d3b45d0a3f7abbe494b5f4861d4e40e461be.tar.gz
arping: New completion.
Diffstat (limited to 'test')
-rw-r--r--test/completion/arping.exp1
-rw-r--r--test/lib/completions/arping.exp21
2 files changed, 22 insertions, 0 deletions
diff --git a/test/completion/arping.exp b/test/completion/arping.exp
new file mode 100644
index 00000000..5a64b1a3
--- /dev/null
+++ b/test/completion/arping.exp
@@ -0,0 +1 @@
+assert_source_completions arping
diff --git a/test/lib/completions/arping.exp b/test/lib/completions/arping.exp
new file mode 100644
index 00000000..531bb07f
--- /dev/null
+++ b/test/lib/completions/arping.exp
@@ -0,0 +1,21 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "arping "
+sync_after_int
+
+assert_complete_any "arping -"
+sync_after_int
+
+
+teardown