summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIgor Murzov <e-mail@date.by>2011-12-18 21:59:15 +0400
committerIgor Murzov <e-mail@date.by>2011-12-18 21:59:15 +0400
commit5dba39cbd3283f1e127753b3d54a200a1ffecbd6 (patch)
treeba2a16b50c5c057c1dabe1eada957fc26a722626 /test
parentbb5200695bf72b26df64ad65a13aee78df42dfe9 (diff)
downloadbash-completion-5dba39cbd3283f1e127753b3d54a200a1ffecbd6.tar.gz
htop: New completoin.
Diffstat (limited to 'test')
-rw-r--r--test/completion/htop.exp1
-rw-r--r--test/lib/completions/htop.exp20
2 files changed, 21 insertions, 0 deletions
diff --git a/test/completion/htop.exp b/test/completion/htop.exp
new file mode 100644
index 00000000..c5372475
--- /dev/null
+++ b/test/completion/htop.exp
@@ -0,0 +1 @@
+assert_source_completions htop
diff --git a/test/lib/completions/htop.exp b/test/lib/completions/htop.exp
new file mode 100644
index 00000000..d3e94d10
--- /dev/null
+++ b/test/lib/completions/htop.exp
@@ -0,0 +1,20 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "htop -"
+
+
+sync_after_int
+
+
+teardown