[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 9bb02ca317ccc89c318d2b2ad1423b1638076023

Freddy Vulto fvulto at gmail.com
Mon Jul 20 19:14:42 UTC 2009


The following commit has been merged in the master branch:
commit 9bb02ca317ccc89c318d2b2ad1423b1638076023
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Mon Jul 20 21:13:58 2009 +0200

    Reviewed tests l*

diff --git a/test/_completion_to_review/larch.exp b/test/_completion_to_review/larch.exp
deleted file mode 100644
index bad7768..0000000
--- a/test/_completion_to_review/larch.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/larch.exp"
diff --git a/test/_completion_to_review/ld.exp b/test/_completion_to_review/ld.exp
deleted file mode 100644
index c2285cb..0000000
--- a/test/_completion_to_review/ld.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/ld.exp"
diff --git a/test/_completion_to_review/ldd.exp b/test/_completion_to_review/ldd.exp
deleted file mode 100644
index fe9c400..0000000
--- a/test/_completion_to_review/ldd.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/ldd.exp"
diff --git a/test/_completion_to_review/less.exp b/test/_completion_to_review/less.exp
deleted file mode 100644
index f58cd99..0000000
--- a/test/_completion_to_review/less.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/less.exp"
diff --git a/test/_completion_to_review/lftp.exp b/test/_completion_to_review/lftp.exp
deleted file mode 100644
index 16d1c95..0000000
--- a/test/_completion_to_review/lftp.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/lftp.exp"
diff --git a/test/_completion_to_review/links.exp b/test/_completion_to_review/links.exp
deleted file mode 100644
index 776bedd..0000000
--- a/test/_completion_to_review/links.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/links.exp"
diff --git a/test/_completion_to_review/lisp.exp b/test/_completion_to_review/lisp.exp
deleted file mode 100644
index ddd6ad5..0000000
--- a/test/_completion_to_review/lisp.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/lisp.exp"
diff --git a/test/_completion_to_review/list_admins.exp b/test/_completion_to_review/list_admins.exp
deleted file mode 100644
index f4ec2f5..0000000
--- a/test/_completion_to_review/list_admins.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/list_admins.exp"
diff --git a/test/_completion_to_review/list_lists.exp b/test/_completion_to_review/list_lists.exp
deleted file mode 100644
index 705c4d5..0000000
--- a/test/_completion_to_review/list_lists.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/list_lists.exp"
diff --git a/test/_completion_to_review/list_members.exp b/test/_completion_to_review/list_members.exp
deleted file mode 100644
index 4618c03..0000000
--- a/test/_completion_to_review/list_members.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/list_members.exp"
diff --git a/test/_completion_to_review/list_owners.exp b/test/_completion_to_review/list_owners.exp
deleted file mode 100644
index 8f66acb..0000000
--- a/test/_completion_to_review/list_owners.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/list_owners.exp"
diff --git a/test/_completion_to_review/ln.exp b/test/_completion_to_review/ln.exp
deleted file mode 100644
index 70d31ff..0000000
--- a/test/_completion_to_review/ln.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/ln.exp"
diff --git a/test/_completion_to_review/look.exp b/test/_completion_to_review/look.exp
deleted file mode 100644
index 57ed96b..0000000
--- a/test/_completion_to_review/look.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/look.exp"
diff --git a/test/_completion_to_review/ls.exp b/test/_completion_to_review/ls.exp
deleted file mode 100644
index 6b78b68..0000000
--- a/test/_completion_to_review/ls.exp
+++ /dev/null
@@ -1 +0,0 @@
-source "lib/completions/ls.exp"
diff --git a/test/completion/.ld.exp.swp b/test/completion/.ld.exp.swp
new file mode 100644
index 0000000..a5ba740
Binary files /dev/null and b/test/completion/.ld.exp.swp differ
diff --git a/test/completion/larch.exp b/test/completion/larch.exp
new file mode 100644
index 0000000..26aef71
--- /dev/null
+++ b/test/completion/larch.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {larch}]} {
+    source "lib/completions/larch.exp"
+}; # if
diff --git a/test/completion/ld.exp b/test/completion/ld.exp
new file mode 100644
index 0000000..9252790
--- /dev/null
+++ b/test/completion/ld.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {ld}]} {
+    source "lib/completions/ld.exp"
+}; # if
diff --git a/test/completion/ldd.exp b/test/completion/ldd.exp
new file mode 100644
index 0000000..20c6fec
--- /dev/null
+++ b/test/completion/ldd.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {ldd}]} {
+    source "lib/completions/ldd.exp"
+}; # if
diff --git a/test/completion/less.exp b/test/completion/less.exp
new file mode 100644
index 0000000..7ef1157
--- /dev/null
+++ b/test/completion/less.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {less}]} {
+    source "lib/completions/less.exp"
+}; # if
diff --git a/test/completion/lftp.exp b/test/completion/lftp.exp
new file mode 100644
index 0000000..847c6b3
--- /dev/null
+++ b/test/completion/lftp.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {lftp}]} {
+    source "lib/completions/lftp.exp"
+}; # if
diff --git a/test/_completion_to_review/lilo.exp b/test/completion/lilo.exp
similarity index 100%
rename from test/_completion_to_review/lilo.exp
rename to test/completion/lilo.exp
diff --git a/test/completion/links.exp b/test/completion/links.exp
new file mode 100644
index 0000000..7e87130
--- /dev/null
+++ b/test/completion/links.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {links}]} {
+    source "lib/completions/links.exp"
+}; # if
diff --git a/test/completion/lisp.exp b/test/completion/lisp.exp
new file mode 100644
index 0000000..90ac94f
--- /dev/null
+++ b/test/completion/lisp.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {lisp}]} {
+    source "lib/completions/lisp.exp"
+}; # if
diff --git a/test/completion/list_admins.exp b/test/completion/list_admins.exp
new file mode 100644
index 0000000..8a39e12
--- /dev/null
+++ b/test/completion/list_admins.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {list_admins}]} {
+    source "lib/completions/list_admins.exp"
+}; # if
diff --git a/test/completion/list_lists.exp b/test/completion/list_lists.exp
new file mode 100644
index 0000000..eb38985
--- /dev/null
+++ b/test/completion/list_lists.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {list_lists}]} {
+    source "lib/completions/list_lists.exp"
+}; # if
diff --git a/test/completion/list_members.exp b/test/completion/list_members.exp
new file mode 100644
index 0000000..bc6a663
--- /dev/null
+++ b/test/completion/list_members.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {list_members}]} {
+    source "lib/completions/list_members.exp"
+}; # if
diff --git a/test/completion/list_owners.exp b/test/completion/list_owners.exp
new file mode 100644
index 0000000..0b02658
--- /dev/null
+++ b/test/completion/list_owners.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {list_owners}]} {
+    source "lib/completions/list_owners.exp"
+}; # if
diff --git a/test/completion/ln.exp b/test/completion/ln.exp
new file mode 100644
index 0000000..cd4b605
--- /dev/null
+++ b/test/completion/ln.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {ln}]} {
+    source "lib/completions/ln.exp"
+}; # if
diff --git a/test/completion/look.exp b/test/completion/look.exp
new file mode 100644
index 0000000..c99369b
--- /dev/null
+++ b/test/completion/look.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {look}]} {
+    source "lib/completions/look.exp"
+}; # if
diff --git a/test/completion/ls.exp b/test/completion/ls.exp
new file mode 100644
index 0000000..e1fe643
--- /dev/null
+++ b/test/completion/ls.exp
@@ -0,0 +1,3 @@
+if {[assert_bash_type {ls}]} {
+    source "lib/completions/ls.exp"
+}; # if
diff --git a/test/_completion_to_review/lvchange.exp b/test/completion/lvchange.exp
similarity index 100%
rename from test/_completion_to_review/lvchange.exp
rename to test/completion/lvchange.exp
diff --git a/test/_completion_to_review/lvcreate.exp b/test/completion/lvcreate.exp
similarity index 100%
rename from test/_completion_to_review/lvcreate.exp
rename to test/completion/lvcreate.exp
diff --git a/test/_completion_to_review/lvdisplay.exp b/test/completion/lvdisplay.exp
similarity index 100%
rename from test/_completion_to_review/lvdisplay.exp
rename to test/completion/lvdisplay.exp
diff --git a/test/_completion_to_review/lvextend.exp b/test/completion/lvextend.exp
similarity index 100%
rename from test/_completion_to_review/lvextend.exp
rename to test/completion/lvextend.exp
diff --git a/test/_completion_to_review/lvm.exp b/test/completion/lvm.exp
similarity index 100%
rename from test/_completion_to_review/lvm.exp
rename to test/completion/lvm.exp
diff --git a/test/_completion_to_review/lvmdiskscan.exp b/test/completion/lvmdiskscan.exp
similarity index 100%
rename from test/_completion_to_review/lvmdiskscan.exp
rename to test/completion/lvmdiskscan.exp
diff --git a/test/_completion_to_review/lvreduce.exp b/test/completion/lvreduce.exp
similarity index 100%
rename from test/_completion_to_review/lvreduce.exp
rename to test/completion/lvreduce.exp
diff --git a/test/_completion_to_review/lvremove.exp b/test/completion/lvremove.exp
similarity index 100%
rename from test/_completion_to_review/lvremove.exp
rename to test/completion/lvremove.exp
diff --git a/test/_completion_to_review/lvrename.exp b/test/completion/lvrename.exp
similarity index 100%
rename from test/_completion_to_review/lvrename.exp
rename to test/completion/lvrename.exp
diff --git a/test/_completion_to_review/lvresize.exp b/test/completion/lvresize.exp
similarity index 100%
rename from test/_completion_to_review/lvresize.exp
rename to test/completion/lvresize.exp
diff --git a/test/_completion_to_review/lvs.exp b/test/completion/lvs.exp
similarity index 100%
rename from test/_completion_to_review/lvs.exp
rename to test/completion/lvs.exp
diff --git a/test/_completion_to_review/lvscan.exp b/test/completion/lvscan.exp
similarity index 100%
rename from test/_completion_to_review/lvscan.exp
rename to test/completion/lvscan.exp
diff --git a/test/lib/completions/.ld.exp.swp b/test/lib/completions/.ld.exp.swp
new file mode 100644
index 0000000..f018de3
Binary files /dev/null and b/test/lib/completions/.ld.exp.swp differ
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/larch.exp
similarity index 79%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/larch.exp
index 26065d2..076016f 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/larch.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "larch library-"
 
 
 sync_after_int
diff --git a/test/lib/completions/ci.exp b/test/lib/completions/ld.exp
similarity index 84%
copy from test/lib/completions/ci.exp
copy to test/lib/completions/ld.exp
index 09105ee..6037799 100644
--- a/test/lib/completions/ci.exp
+++ b/test/lib/completions/ld.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "ci "
+assert_complete_any "ld "
 
 
 sync_after_int
diff --git a/test/lib/completions/cat.exp b/test/lib/completions/ldd.exp
similarity index 84%
copy from test/lib/completions/cat.exp
copy to test/lib/completions/ldd.exp
index 46e8775..e45d1df 100644
--- a/test/lib/completions/cat.exp
+++ b/test/lib/completions/ldd.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "cat "
+assert_complete_any "ldd "
 
 
 sync_after_int
diff --git a/test/lib/completions/bash.exp b/test/lib/completions/less.exp
similarity index 82%
copy from test/lib/completions/bash.exp
copy to test/lib/completions/less.exp
index 4caf58f..269c9b5 100644
--- a/test/lib/completions/bash.exp
+++ b/test/lib/completions/less.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bash --"
+assert_complete_any "less --"
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/lftp.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/lftp.exp
index c437d03..4bdde37 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/lftp.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "lftp "
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/lilo.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/lilo.exp
index c437d03..505a147 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/lilo.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "lilo -"
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/links.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/links.exp
index c437d03..9f4896a 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/links.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "links "
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/lisp.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/lisp.exp
index c437d03..2166362 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/lisp.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "lisp "
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/list_admins.exp
similarity index 79%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/list_admins.exp
index 26065d2..e1c9c4d 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/list_admins.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "list_admins -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/list_lists.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/list_lists.exp
index 26065d2..789ab1a 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/list_lists.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "list_lists -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/list_members.exp
similarity index 79%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/list_members.exp
index 26065d2..c93b53d 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/list_members.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "list_members -"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/list_owners.exp
similarity index 79%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/list_owners.exp
index 26065d2..c96e022 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/list_owners.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "list_owners -"
 
 
 sync_after_int
diff --git a/test/lib/completions/ci.exp b/test/lib/completions/ln.exp
similarity index 84%
copy from test/lib/completions/ci.exp
copy to test/lib/completions/ln.exp
index 09105ee..3478607 100644
--- a/test/lib/completions/ci.exp
+++ b/test/lib/completions/ln.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "ci "
+assert_complete_any "ln "
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/look.exp
similarity index 82%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/look.exp
index 26065d2..4224c32 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/look.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "look foo"
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/ls.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/ls.exp
index c437d03..82e898c 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/ls.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "ls --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/lvchange.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/lvchange.exp
index 26065d2..ec3886b 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/lvchange.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "lvchange --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/lvcreate.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/lvcreate.exp
index 26065d2..46dceb7 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/lvcreate.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "lvcreate --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/lvdisplay.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/lvdisplay.exp
index 26065d2..5a01a0e 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/lvdisplay.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "lvdisplay --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/lvextend.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/lvextend.exp
index 26065d2..24a6385 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/lvextend.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "lvextend --"
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/lvm.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/lvm.exp
index c437d03..1c67825 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/lvm.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "lvm pv"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/lvmdiskscan.exp
similarity index 79%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/lvmdiskscan.exp
index 26065d2..27e566d 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/lvmdiskscan.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "lvmdiskscan --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/lvreduce.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/lvreduce.exp
index 26065d2..edd5150 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/lvreduce.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "lvreduce --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/lvremove.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/lvremove.exp
index 26065d2..1cd6315 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/lvremove.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "lvremove --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/lvrename.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/lvrename.exp
index 26065d2..5162422 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/lvrename.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "lvrename --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/lvresize.exp
similarity index 80%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/lvresize.exp
index 26065d2..830b9ab 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/lvresize.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "lvresize --"
 
 
 sync_after_int
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/lvs.exp
similarity index 83%
copy from test/lib/completions/bc.exp
copy to test/lib/completions/lvs.exp
index c437d03..8b239f5 100644
--- a/test/lib/completions/bc.exp
+++ b/test/lib/completions/lvs.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "bc --"
+assert_complete_any "lvs --"
 
 
 sync_after_int
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/lvscan.exp
similarity index 81%
copy from test/lib/completions/animate.exp
copy to test/lib/completions/lvscan.exp
index 26065d2..841fd0e 100644
--- a/test/lib/completions/animate.exp
+++ b/test/lib/completions/lvscan.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "animate "
+assert_complete_any "lvscan --"
 
 
 sync_after_int
diff --git a/test/lib/completions_to_review/larch.exp b/test/lib/completions_to_review/larch.exp
deleted file mode 100644
index aadd461..0000000
--- a/test/lib/completions_to_review/larch.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "larch library-"
-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/ld.exp b/test/lib/completions_to_review/ld.exp
deleted file mode 100644
index 429250d..0000000
--- a/test/lib/completions_to_review/ld.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "ld "
-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/ldd.exp b/test/lib/completions_to_review/ldd.exp
deleted file mode 100644
index 42af598..0000000
--- a/test/lib/completions_to_review/ldd.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "ldd "
-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/less.exp b/test/lib/completions_to_review/less.exp
deleted file mode 100644
index d833ade..0000000
--- a/test/lib/completions_to_review/less.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "less "
-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/lftp.exp b/test/lib/completions_to_review/lftp.exp
deleted file mode 100644
index eeac0c7..0000000
--- a/test/lib/completions_to_review/lftp.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lftp "
-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/lilo.exp b/test/lib/completions_to_review/lilo.exp
deleted file mode 100644
index b2f4601..0000000
--- a/test/lib/completions_to_review/lilo.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lilo -"
-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/links.exp b/test/lib/completions_to_review/links.exp
deleted file mode 100644
index e08e624..0000000
--- a/test/lib/completions_to_review/links.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "links "
-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/lisp.exp b/test/lib/completions_to_review/lisp.exp
deleted file mode 100644
index 1afe40c..0000000
--- a/test/lib/completions_to_review/lisp.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lisp "
-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/list_admins.exp b/test/lib/completions_to_review/list_admins.exp
deleted file mode 100644
index 7006f9b..0000000
--- a/test/lib/completions_to_review/list_admins.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "list_admins -"
-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/list_lists.exp b/test/lib/completions_to_review/list_lists.exp
deleted file mode 100644
index 332b021..0000000
--- a/test/lib/completions_to_review/list_lists.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "list_lists -"
-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/list_members.exp b/test/lib/completions_to_review/list_members.exp
deleted file mode 100644
index 5d9dd08..0000000
--- a/test/lib/completions_to_review/list_members.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "list_members -"
-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/list_owners.exp b/test/lib/completions_to_review/list_owners.exp
deleted file mode 100644
index 065635b..0000000
--- a/test/lib/completions_to_review/list_owners.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "list_owners -"
-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/ln.exp b/test/lib/completions_to_review/ln.exp
deleted file mode 100644
index aa2faaa..0000000
--- a/test/lib/completions_to_review/ln.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "ln "
-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/look.exp b/test/lib/completions_to_review/look.exp
deleted file mode 100644
index 38eb1a5..0000000
--- a/test/lib/completions_to_review/look.exp
+++ /dev/null
@@ -1,29 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "look foo "
-send "$cmd\t"
-  # NOTE: Wait in case `look' returns nothing, so that "^$cdm.*$" doesn't match
-  #       too early -- before comp_install has finished
-sleep .4
-expect {
-    -re "^${cmd}(bash: look: command not found\r\n|)\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/ls.exp b/test/lib/completions_to_review/ls.exp
deleted file mode 100644
index d433295..0000000
--- a/test/lib/completions_to_review/ls.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "ls "
-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/lvchange.exp b/test/lib/completions_to_review/lvchange.exp
deleted file mode 100644
index d07a129..0000000
--- a/test/lib/completions_to_review/lvchange.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvchange --"
-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/lvcreate.exp b/test/lib/completions_to_review/lvcreate.exp
deleted file mode 100644
index 1a24d6a..0000000
--- a/test/lib/completions_to_review/lvcreate.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvcreate --"
-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/lvdisplay.exp b/test/lib/completions_to_review/lvdisplay.exp
deleted file mode 100644
index 4ba2be5..0000000
--- a/test/lib/completions_to_review/lvdisplay.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvdisplay --"
-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/lvextend.exp b/test/lib/completions_to_review/lvextend.exp
deleted file mode 100644
index 60195ce..0000000
--- a/test/lib/completions_to_review/lvextend.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvextend --"
-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/lvm.exp b/test/lib/completions_to_review/lvm.exp
deleted file mode 100644
index e9403a4..0000000
--- a/test/lib/completions_to_review/lvm.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvm pv"
-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/lvmdiskscan.exp b/test/lib/completions_to_review/lvmdiskscan.exp
deleted file mode 100644
index eb219e5..0000000
--- a/test/lib/completions_to_review/lvmdiskscan.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvmdiskscan --"
-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/lvreduce.exp b/test/lib/completions_to_review/lvreduce.exp
deleted file mode 100644
index 6c3f141..0000000
--- a/test/lib/completions_to_review/lvreduce.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvreduce --"
-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/lvremove.exp b/test/lib/completions_to_review/lvremove.exp
deleted file mode 100644
index 35ba530..0000000
--- a/test/lib/completions_to_review/lvremove.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvremove --"
-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/lvrename.exp b/test/lib/completions_to_review/lvrename.exp
deleted file mode 100644
index fd3102d..0000000
--- a/test/lib/completions_to_review/lvrename.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvrename --"
-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/lvresize.exp b/test/lib/completions_to_review/lvresize.exp
deleted file mode 100644
index ce44198..0000000
--- a/test/lib/completions_to_review/lvresize.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvresize --"
-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/lvs.exp b/test/lib/completions_to_review/lvs.exp
deleted file mode 100644
index 231099e..0000000
--- a/test/lib/completions_to_review/lvs.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvs --"
-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/lvscan.exp b/test/lib/completions_to_review/lvscan.exp
deleted file mode 100644
index e50a7f9..0000000
--- a/test/lib/completions_to_review/lvscan.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
-}; # setup()
-
-
-proc teardown {} {
-}; # teardown()
-
-
-setup
-
-
-set test "Tab should complete"
-    # Try completion
-set cmd "lvscan --"
-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