summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIgor Murzov <e-mail@date.by>2011-11-25 04:33:36 +0300
committerIgor Murzov <e-mail@date.by>2011-11-25 04:38:50 +0300
commitf271d7e8db836f126ec20747095086ca01c744bb (patch)
treee300cdf69825457cce53b4dfd197de26fbdf3712 /test
parent2e859f1a6cfb7d5628108564b4020780ad112328 (diff)
downloadbash-completion-f271d7e8db836f126ec20747095086ca01c744bb.tar.gz
nethogs: New completion.
Diffstat (limited to 'test')
-rw-r--r--test/completion/nethogs.exp1
-rw-r--r--test/lib/completions/nethogs.exp20
2 files changed, 21 insertions, 0 deletions
diff --git a/test/completion/nethogs.exp b/test/completion/nethogs.exp
new file mode 100644
index 00000000..4d501ace
--- /dev/null
+++ b/test/completion/nethogs.exp
@@ -0,0 +1 @@
+assert_source_completions nethogs
diff --git a/test/lib/completions/nethogs.exp b/test/lib/completions/nethogs.exp
new file mode 100644
index 00000000..d6234070
--- /dev/null
+++ b/test/lib/completions/nethogs.exp
@@ -0,0 +1,20 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "nethogs "
+
+
+sync_after_int
+
+
+teardown