[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 90fc7be01199d85404dfa157a2ff7f82cc3abfd2

Freddy Vulto fvulto at gmail.com
Sat Aug 1 07:38:30 UTC 2009


The following commit has been merged in the master branch:
commit 90fc7be01199d85404dfa157a2ff7f82cc3abfd2
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Sat Aug 1 09:35:24 2009 +0200

    Reviewed tests v*, w*, x* & y*
    Directories `test/_completion_to_review' &
    'lib/completions_to_review' are now removed.

diff --git a/test/_completion_to_review/vdir.exp b/test/_completion_to_review/vdir.exp
deleted file mode 100644
index 4941371..0000000
--- a/test/_completion_to_review/vdir.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/vdir.exp"
diff --git a/test/_completion_to_review/wc.exp b/test/_completion_to_review/wc.exp
deleted file mode 100644
index 78221d6..0000000
--- a/test/_completion_to_review/wc.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/wc.exp"
diff --git a/test/_completion_to_review/webmitm.exp b/test/_completion_to_review/webmitm.exp
deleted file mode 100644
index 2a991c7..0000000
--- a/test/_completion_to_review/webmitm.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/webmitm.exp"
diff --git a/test/_completion_to_review/wget.exp b/test/_completion_to_review/wget.exp
deleted file mode 100644
index b2485d8..0000000
--- a/test/_completion_to_review/wget.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/wget.exp"
diff --git a/test/_completion_to_review/who.exp b/test/_completion_to_review/who.exp
deleted file mode 100644
index 3e9986f..0000000
--- a/test/_completion_to_review/who.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/who.exp"
diff --git a/test/_completion_to_review/withlist.exp b/test/_completion_to_review/withlist.exp
deleted file mode 100644
index bfd3aa2..0000000
--- a/test/_completion_to_review/withlist.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/withlist.exp"
diff --git a/test/_completion_to_review/wvdial.exp b/test/_completion_to_review/wvdial.exp
deleted file mode 100644
index 04e64d0..0000000
--- a/test/_completion_to_review/wvdial.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/wvdial.exp"
diff --git a/test/_completion_to_review/xpovray.exp b/test/_completion_to_review/xpovray.exp
deleted file mode 100644
index e6b9a2b..0000000
--- a/test/_completion_to_review/xpovray.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/xpovray.exp"
diff --git a/test/_completion_to_review/ypcat.exp b/test/_completion_to_review/ypcat.exp
deleted file mode 100644
index fdb9f50..0000000
--- a/test/_completion_to_review/ypcat.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/ypcat.exp"
diff --git a/test/_completion_to_review/ypmatch.exp b/test/_completion_to_review/ypmatch.exp
deleted file mode 100644
index dac077b..0000000
--- a/test/_completion_to_review/ypmatch.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/ypmatch.exp"
diff --git a/test/_completion_to_review/yum-arch.exp b/test/_completion_to_review/yum-arch.exp
deleted file mode 100644
index b0489a4..0000000
--- a/test/_completion_to_review/yum-arch.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/yum-arch.exp"
diff --git a/test/_completion_to_review/yum.exp b/test/_completion_to_review/yum.exp
deleted file mode 100644
index 8b9a3ee..0000000
--- a/test/_completion_to_review/yum.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/yum.exp"
diff --git a/test/completion/vdir.exp b/test/completion/vdir.exp
new file mode 100644
index 0000000..287d8c1
--- /dev/null
+++ b/test/completion/vdir.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type vdir]} {
+    source "lib/completions/vdir.exp"
+}; # if
diff --git a/test/_completion_to_review/vgcfgbackup.exp b/test/completion/vgcfgbackup.exp
similarity index 100%
rename from test/_completion_to_review/vgcfgbackup.exp
rename to test/completion/vgcfgbackup.exp
diff --git a/test/_completion_to_review/vgcfgrestore.exp b/test/completion/vgcfgrestore.exp
similarity index 100%
rename from test/_completion_to_review/vgcfgrestore.exp
rename to test/completion/vgcfgrestore.exp
diff --git a/test/_completion_to_review/vgchange.exp b/test/completion/vgchange.exp
similarity index 100%
rename from test/_completion_to_review/vgchange.exp
rename to test/completion/vgchange.exp
diff --git a/test/_completion_to_review/vgck.exp b/test/completion/vgck.exp
similarity index 100%
rename from test/_completion_to_review/vgck.exp
rename to test/completion/vgck.exp
diff --git a/test/_completion_to_review/vgconvert.exp b/test/completion/vgconvert.exp
similarity index 100%
rename from test/_completion_to_review/vgconvert.exp
rename to test/completion/vgconvert.exp
diff --git a/test/_completion_to_review/vgcreate.exp b/test/completion/vgcreate.exp
similarity index 100%
rename from test/_completion_to_review/vgcreate.exp
rename to test/completion/vgcreate.exp
diff --git a/test/_completion_to_review/vgdisplay.exp b/test/completion/vgdisplay.exp
similarity index 100%
rename from test/_completion_to_review/vgdisplay.exp
rename to test/completion/vgdisplay.exp
diff --git a/test/_completion_to_review/vgexport.exp b/test/completion/vgexport.exp
similarity index 100%
rename from test/_completion_to_review/vgexport.exp
rename to test/completion/vgexport.exp
diff --git a/test/_completion_to_review/vgextend.exp b/test/completion/vgextend.exp
similarity index 100%
rename from test/_completion_to_review/vgextend.exp
rename to test/completion/vgextend.exp
diff --git a/test/_completion_to_review/vgimport.exp b/test/completion/vgimport.exp
similarity index 100%
rename from test/_completion_to_review/vgimport.exp
rename to test/completion/vgimport.exp
diff --git a/test/_completion_to_review/vgmerge.exp b/test/completion/vgmerge.exp
similarity index 100%
rename from test/_completion_to_review/vgmerge.exp
rename to test/completion/vgmerge.exp
diff --git a/test/_completion_to_review/vgmknodes.exp b/test/completion/vgmknodes.exp
similarity index 100%
rename from test/_completion_to_review/vgmknodes.exp
rename to test/completion/vgmknodes.exp
diff --git a/test/_completion_to_review/vgreduce.exp b/test/completion/vgreduce.exp
similarity index 100%
rename from test/_completion_to_review/vgreduce.exp
rename to test/completion/vgreduce.exp
diff --git a/test/_completion_to_review/vgremove.exp b/test/completion/vgremove.exp
similarity index 100%
rename from test/_completion_to_review/vgremove.exp
rename to test/completion/vgremove.exp
diff --git a/test/_completion_to_review/vgrename.exp b/test/completion/vgrename.exp
similarity index 100%
rename from test/_completion_to_review/vgrename.exp
rename to test/completion/vgrename.exp
diff --git a/test/_completion_to_review/vgs.exp b/test/completion/vgs.exp
similarity index 100%
rename from test/_completion_to_review/vgs.exp
rename to test/completion/vgs.exp
diff --git a/test/_completion_to_review/vgscan.exp b/test/completion/vgscan.exp
similarity index 100%
rename from test/_completion_to_review/vgscan.exp
rename to test/completion/vgscan.exp
diff --git a/test/_completion_to_review/vgsplit.exp b/test/completion/vgsplit.exp
similarity index 100%
rename from test/_completion_to_review/vgsplit.exp
rename to test/completion/vgsplit.exp
diff --git a/test/completion/vncviewer.exp b/test/completion/vncviewer.exp
index 1703278..657c00b 100644
--- a/test/completion/vncviewer.exp
+++ b/test/completion/vncviewer.exp
@@ -1 +1,3 @@
-source "lib/completions/vncviewer.exp"
+if {[assert_bash_type vncviewer]} {
+    source "lib/completions/vncviewer.exp"
+}; # if
diff --git a/test/completion/wc.exp b/test/completion/wc.exp
new file mode 100644
index 0000000..d77b49b
--- /dev/null
+++ b/test/completion/wc.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type wc]} {
+    source "lib/completions/wc.exp"
+}; # if
diff --git a/test/completion/webmitm.exp b/test/completion/webmitm.exp
new file mode 100644
index 0000000..48ef7d9
--- /dev/null
+++ b/test/completion/webmitm.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type webmitm]} {
+    source "lib/completions/webmitm.exp"
+}; # if
diff --git a/test/completion/wget.exp b/test/completion/wget.exp
new file mode 100644
index 0000000..86d3058
--- /dev/null
+++ b/test/completion/wget.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type wget]} {
+    source "lib/completions/wget.exp"
+}; # if
diff --git a/test/completion/who.exp b/test/completion/who.exp
new file mode 100644
index 0000000..c6df2a4
--- /dev/null
+++ b/test/completion/who.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type who]} {
+    source "lib/completions/who.exp"
+}; # if
diff --git a/test/completion/withlist.exp b/test/completion/withlist.exp
new file mode 100644
index 0000000..d729898
--- /dev/null
+++ b/test/completion/withlist.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type withlist]} {
+    source "lib/completions/withlist.exp"
+}; # if
diff --git a/test/completion/wvdial.exp b/test/completion/wvdial.exp
new file mode 100644
index 0000000..d62eabf
--- /dev/null
+++ b/test/completion/wvdial.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type wvdial]} {
+    source "lib/completions/wvdial.exp"
+}; # if
diff --git a/test/completion/xhost.exp b/test/completion/xhost.exp
index e79abf5..31ae9e6 100644
--- a/test/completion/xhost.exp
+++ b/test/completion/xhost.exp
@@ -1,6 +1,3 @@
-source "lib/completions/xhost.exp"
-
-# TODO: Dynamic loading of completions.  After the tests have the first time and
-#       real completion is installed, the tests can be run a second time.
-#
-# source "lib/completions/ssh.exp"
+if {[assert_bash_type {xhost}]} {
+    source "lib/completions/xhost.exp"
+}; # if
diff --git a/test/_completion_to_review/xmms.exp b/test/completion/xmms.exp
similarity index 100%
rename from test/_completion_to_review/xmms.exp
rename to test/completion/xmms.exp
diff --git a/test/completion/xpovray.exp b/test/completion/xpovray.exp
new file mode 100644
index 0000000..51eea73
--- /dev/null
+++ b/test/completion/xpovray.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type xpovray]} {
+    source "lib/completions/xpovray.exp"
+}; # if
diff --git a/test/completion/ypcat.exp b/test/completion/ypcat.exp
new file mode 100644
index 0000000..516a884
--- /dev/null
+++ b/test/completion/ypcat.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type ypcat]} {
+    source "lib/completions/ypcat.exp"
+}; # if
diff --git a/test/completion/ypmatch.exp b/test/completion/ypmatch.exp
new file mode 100644
index 0000000..e456479
--- /dev/null
+++ b/test/completion/ypmatch.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type ypmatch]} {
+    source "lib/completions/ypmatch.exp"
+}; # if
diff --git a/test/completion/yum-arch.exp b/test/completion/yum-arch.exp
new file mode 100644
index 0000000..3c30a87
--- /dev/null
+++ b/test/completion/yum-arch.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type yum-arch]} {
+    source "lib/completions/yum-arch.exp"
+}; # if
diff --git a/test/completion/yum.exp b/test/completion/yum.exp
new file mode 100644
index 0000000..247f05b
--- /dev/null
+++ b/test/completion/yum.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type yum]} {
+    source "lib/completions/yum.exp"
+}; # if
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/vdir.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/vdir.exp
index c437d03..b525c38 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/vdir.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "vdir "
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgcfgbackup.exp
similarity index 79%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgcfgbackup.exp
index 26065d2..19ceeec 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgcfgbackup.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgcfgbackup -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgcfgrestore.exp
similarity index 79%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgcfgrestore.exp
index 26065d2..e1c3c3b 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgcfgrestore.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgcfgrestore -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgchange.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgchange.exp
index 26065d2..645eedb 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgchange.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgchange -"
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/vgck.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/vgck.exp
index c437d03..67209b1 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/vgck.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "vgck -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgconvert.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgconvert.exp
index 26065d2..065c482 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgconvert.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgconvert -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgcreate.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgcreate.exp
index 26065d2..7c324e6 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgcreate.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgcreate -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgdisplay.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgdisplay.exp
index 26065d2..b6bc912 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgdisplay.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgdisplay -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgexport.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgexport.exp
index 26065d2..2ad4230 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgexport.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgexport -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgextend.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgextend.exp
index 26065d2..18a491d 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgextend.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgextend -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgimport.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgimport.exp
index 26065d2..e4568f3 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgimport.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgimport -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgmerge.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgmerge.exp
index 26065d2..8ba5e89 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgmerge.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgmerge -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgmknodes.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgmknodes.exp
index 26065d2..d24552f 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgmknodes.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgmknodes -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgreduce.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgreduce.exp
index 26065d2..887ba8d 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgreduce.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgreduce -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgremove.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgremove.exp
index 26065d2..26dadf9 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgremove.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgremove -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgrename.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgrename.exp
index 26065d2..8ddaa75 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgrename.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgrename -"
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/vgs.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/vgs.exp
index c437d03..a27e365 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/vgs.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "vgs -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgscan.exp
similarity index 82%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgscan.exp
index 26065d2..4bb8c35 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgscan.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgscan -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/vgsplit.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/vgsplit.exp
index 26065d2..54e7034 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/vgsplit.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "vgsplit -"
 
 
 sync_after_int
diff --git a/test/lib/completions/vncviewer.exp b/test/lib/completions/vncviewer.exp
index bde8e7e..8d619c5 100644
--- a/test/lib/completions/vncviewer.exp
+++ b/test/lib/completions/vncviewer.exp
@@ -11,15 +11,7 @@ proc teardown {} {
 setup
 
 
-set test "Tab should show completions"
-    # Try completion
-set cmd "xvnc4viewer "
-send "$cmd\t"
-expect {
-    -re "$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
+assert_complete_any "vncviewer "
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/wc.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/wc.exp
index c437d03..d4e04ca 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/wc.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "wc --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/webmitm.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/webmitm.exp
index 26065d2..1d48a3a 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/webmitm.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "webmitm -"
 
 
 sync_after_int
diff --git a/test/lib/completions/bash.exp b/test/lib/completions/wget.exp
similarity index 82%
copy from test/lib/completions/bash.exp
copy to test/lib/completions/wget.exp
index 4caf58f..245b27b 100644
--- a/test/lib/completions/bash.exp
+++ b/test/lib/completions/wget.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bash --"
+assert_complete_any "wget --"
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/who.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/who.exp
index c437d03..be3ed28 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/who.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "who --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/withlist.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/withlist.exp
index 26065d2..6310466 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/withlist.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "withlist --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/wvdial.exp
similarity index 82%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/wvdial.exp
index 26065d2..8d4669d 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/wvdial.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "wvdial -"
 
 
 sync_after_int
diff --git a/test/lib/completions/bash.exp b/test/lib/completions/xmms.exp
similarity index 82%
copy from test/lib/completions/bash.exp
copy to test/lib/completions/xmms.exp
index 4caf58f..c4ad64e 100644
--- a/test/lib/completions/bash.exp
+++ b/test/lib/completions/xmms.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bash --"
+assert_complete_any "xmms --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/xpovray.exp
similarity index 82%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/xpovray.exp
index 26065d2..92cc903 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/xpovray.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "xpovray "
 
 
 sync_after_int
diff --git a/test/lib/completions/xvnc4viewer.exp b/test/lib/completions/xvnc4viewer.exp
index 1aba5fc..3456c3e 100644
--- a/test/lib/completions/xvnc4viewer.exp
+++ b/test/lib/completions/xvnc4viewer.exp
@@ -28,29 +28,15 @@ assert_complete $options {vncviewer -}
 sync_after_int
 
 
-set test "-PreferredEncoding should show encodings"
-    # Try completion
-set cmd "xvnc4viewer -PreferredEncoding "
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\nhextile\\s+raw\\s+zrle\\s+/@$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
+set expected {hextile raw zrle}
+assert_complete $expected "xvnc4viewer -PreferredEncoding "
 
 
 sync_after_int
 
 
-set test "--preferredencoding should show encodings"
-    # Try completion
-set cmd "xvnc4viewer --preferredencoding "
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\nhextile\\s+raw\\s+zrle\\s+/@$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
+set expected {hextile raw zrle}
+assert_complete $expected "xvnc4viewer --preferredencoding "
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/ypcat.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/ypcat.exp
index c437d03..f1bd0c0 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/ypcat.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "ypcat "
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/ypmatch.exp
similarity index 82%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/ypmatch.exp
index 26065d2..b54f86a 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/ypmatch.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "ypmatch "
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/yum-arch.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/yum-arch.exp
index 26065d2..defb7bf 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/yum-arch.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "yum-arch -"
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/yum.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/yum.exp
index c437d03..09d7282 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/yum.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "yum -"
 
 
 sync_after_int
diff --git a/test/lib/completions_to_review/vdir.exp b/test/lib/completions_to_review/vdir.exp
deleted file mode 100644
index 075317d..0000000
--- a/test/lib/completions_to_review/vdir.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vdir --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgcfgbackup.exp b/test/lib/completions_to_review/vgcfgbackup.exp
deleted file mode 100644
index 01c3c80..0000000
--- a/test/lib/completions_to_review/vgcfgbackup.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgcfgbackup --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgcfgrestore.exp b/test/lib/completions_to_review/vgcfgrestore.exp
deleted file mode 100644
index 5b955ea..0000000
--- a/test/lib/completions_to_review/vgcfgrestore.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgcfgrestore --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgchange.exp b/test/lib/completions_to_review/vgchange.exp
deleted file mode 100644
index aa9ea75..0000000
--- a/test/lib/completions_to_review/vgchange.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgchange --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgck.exp b/test/lib/completions_to_review/vgck.exp
deleted file mode 100644
index c0ca185..0000000
--- a/test/lib/completions_to_review/vgck.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgck --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgconvert.exp b/test/lib/completions_to_review/vgconvert.exp
deleted file mode 100644
index 78a69f7..0000000
--- a/test/lib/completions_to_review/vgconvert.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgconvert --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgcreate.exp b/test/lib/completions_to_review/vgcreate.exp
deleted file mode 100644
index b480dc4..0000000
--- a/test/lib/completions_to_review/vgcreate.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgcreate --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgdisplay.exp b/test/lib/completions_to_review/vgdisplay.exp
deleted file mode 100644
index b376814..0000000
--- a/test/lib/completions_to_review/vgdisplay.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgdisplay --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgexport.exp b/test/lib/completions_to_review/vgexport.exp
deleted file mode 100644
index 412229b..0000000
--- a/test/lib/completions_to_review/vgexport.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgexport --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgextend.exp b/test/lib/completions_to_review/vgextend.exp
deleted file mode 100644
index 1f76fb7..0000000
--- a/test/lib/completions_to_review/vgextend.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgextend --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgimport.exp b/test/lib/completions_to_review/vgimport.exp
deleted file mode 100644
index a15c8bb..0000000
--- a/test/lib/completions_to_review/vgimport.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgimport --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgmerge.exp b/test/lib/completions_to_review/vgmerge.exp
deleted file mode 100644
index 7aca79f..0000000
--- a/test/lib/completions_to_review/vgmerge.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgmerge --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgmknodes.exp b/test/lib/completions_to_review/vgmknodes.exp
deleted file mode 100644
index 626546d..0000000
--- a/test/lib/completions_to_review/vgmknodes.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgmknodes --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgreduce.exp b/test/lib/completions_to_review/vgreduce.exp
deleted file mode 100644
index f4a2f54..0000000
--- a/test/lib/completions_to_review/vgreduce.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgreduce --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgremove.exp b/test/lib/completions_to_review/vgremove.exp
deleted file mode 100644
index 8085431..0000000
--- a/test/lib/completions_to_review/vgremove.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgremove --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgrename.exp b/test/lib/completions_to_review/vgrename.exp
deleted file mode 100644
index 86ac4ff..0000000
--- a/test/lib/completions_to_review/vgrename.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgrename --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgs.exp b/test/lib/completions_to_review/vgs.exp
deleted file mode 100644
index 0f5842c..0000000
--- a/test/lib/completions_to_review/vgs.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgs --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgscan.exp b/test/lib/completions_to_review/vgscan.exp
deleted file mode 100644
index 47208d4..0000000
--- a/test/lib/completions_to_review/vgscan.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgscan --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/vgsplit.exp b/test/lib/completions_to_review/vgsplit.exp
deleted file mode 100644
index 9383940..0000000
--- a/test/lib/completions_to_review/vgsplit.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "vgsplit --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/wc.exp b/test/lib/completions_to_review/wc.exp
deleted file mode 100644
index 476a088..0000000
--- a/test/lib/completions_to_review/wc.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "wc --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/webmitm.exp b/test/lib/completions_to_review/webmitm.exp
deleted file mode 100644
index 77ed3a2..0000000
--- a/test/lib/completions_to_review/webmitm.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "webmitm -"
-send "$cmd\t"
-expect {
-    -re "^${cmd}d $" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/wget.exp b/test/lib/completions_to_review/wget.exp
deleted file mode 100644
index d9aa1f9..0000000
--- a/test/lib/completions_to_review/wget.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "wget "
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/who.exp b/test/lib/completions_to_review/who.exp
deleted file mode 100644
index 0653e63..0000000
--- a/test/lib/completions_to_review/who.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "who "
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/withlist.exp b/test/lib/completions_to_review/withlist.exp
deleted file mode 100644
index 6c0bc94..0000000
--- a/test/lib/completions_to_review/withlist.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "withlist --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/wvdial.exp b/test/lib/completions_to_review/wvdial.exp
deleted file mode 100644
index 5448a53..0000000
--- a/test/lib/completions_to_review/wvdial.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "wvdial --config "
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/xmms.exp b/test/lib/completions_to_review/xmms.exp
deleted file mode 100644
index 67bcd6c..0000000
--- a/test/lib/completions_to_review/xmms.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "xmms --"
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/xpovray.exp b/test/lib/completions_to_review/xpovray.exp
deleted file mode 100644
index 084f61e..0000000
--- a/test/lib/completions_to_review/xpovray.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "xpovray "
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/ypcat.exp b/test/lib/completions_to_review/ypcat.exp
deleted file mode 100644
index 14086a8..0000000
--- a/test/lib/completions_to_review/ypcat.exp
+++ /dev/null
@@ -1,27 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "ypcat "
-send "$cmd\t"
-expect {
-    -re "^${cmd}bash: ypcat: command not found\r\n$" { pass "$test" }
-	-re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/ypmatch.exp b/test/lib/completions_to_review/ypmatch.exp
deleted file mode 100644
index 675a056..0000000
--- a/test/lib/completions_to_review/ypmatch.exp
+++ /dev/null
@@ -1,27 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "ypmatch foo "
-send "$cmd\t"
-expect {
-    -re "^${cmd}bash: ypcat: command not found\r\n$" { pass "$test" }
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/yum-arch.exp b/test/lib/completions_to_review/yum-arch.exp
deleted file mode 100644
index d3a82b4..0000000
--- a/test/lib/completions_to_review/yum-arch.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "yum-arch "
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions_to_review/yum.exp b/test/lib/completions_to_review/yum.exp
deleted file mode 100644
index 68bcd3f..0000000
--- a/test/lib/completions_to_review/yum.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "yum "
-send "$cmd\t"
-expect {
-    -re "^$cmd\r\n.*$cmd$" { pass "$test" }
-    -re /@ { unresolved "$test at prompt" }
-    -re eof { unresolved "eof" }
-}; # expect
-
-
-sync_after_int
-
-
-teardown

-- 
bash-completion



More information about the Bash-completion-commits mailing list