[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-330-g8641a8c

Igor Murzov e-mail at date.by
Tue May 24 21:29:34 UTC 2011


The following commit has been merged in the master branch:
commit f21f6e080b2854fe692cc174c06501d5bd5a6216
Author: Igor Murzov <igor at gplsoft.org>
Date:   Sat May 21 17:19:21 2011 +0400

    testsuite: add basic tests for pkgtools

diff --git a/test/completion/installpkg.exp b/test/completion/installpkg.exp
new file mode 100644
index 0000000..47f85f4
--- /dev/null
+++ b/test/completion/installpkg.exp
@@ -0,0 +1 @@
+assert_source_completions installpkg
diff --git a/test/completion/makepkg.exp b/test/completion/makepkg.exp
new file mode 100644
index 0000000..a4f5e38
--- /dev/null
+++ b/test/completion/makepkg.exp
@@ -0,0 +1 @@
+assert_source_completions makepkg
diff --git a/test/completion/pkgtool.exp b/test/completion/pkgtool.exp
new file mode 100644
index 0000000..4a946c5
--- /dev/null
+++ b/test/completion/pkgtool.exp
@@ -0,0 +1 @@
+assert_source_completions pkgtool
diff --git a/test/completion/upgradepkg.exp b/test/completion/upgradepkg.exp
new file mode 100644
index 0000000..4b181a8
--- /dev/null
+++ b/test/completion/upgradepkg.exp
@@ -0,0 +1 @@
+assert_source_completions upgradepkg
diff --git a/test/lib/completions/aclocal.exp b/test/lib/completions/installpkg.exp
similarity index 77%
copy from test/lib/completions/aclocal.exp
copy to test/lib/completions/installpkg.exp
index da133aa..6d10549 100644
--- a/test/lib/completions/aclocal.exp
+++ b/test/lib/completions/installpkg.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "aclocal "
+assert_complete_any "installpkg -"
 
 
 sync_after_int
diff --git a/test/lib/completions/a2ps.exp b/test/lib/completions/makepkg.exp
similarity index 78%
copy from test/lib/completions/a2ps.exp
copy to test/lib/completions/makepkg.exp
index 77cd07f..87845b0 100644
--- a/test/lib/completions/a2ps.exp
+++ b/test/lib/completions/makepkg.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "a2ps "
+assert_complete_any "makepkg -"
 
 
 sync_after_int
diff --git a/test/lib/completions/a2ps.exp b/test/lib/completions/pkgtool.exp
similarity index 78%
copy from test/lib/completions/a2ps.exp
copy to test/lib/completions/pkgtool.exp
index 77cd07f..c071ecd 100644
--- a/test/lib/completions/a2ps.exp
+++ b/test/lib/completions/pkgtool.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "a2ps "
+assert_complete_any "pkgtool -"
 
 
 sync_after_int
diff --git a/test/lib/completions/removepkg.exp b/test/lib/completions/removepkg.exp
index 882f1e7..ca2aec5 100644
--- a/test/lib/completions/removepkg.exp
+++ b/test/lib/completions/removepkg.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "removepkg "
+assert_complete_any "removepkg -"
 
 
 sync_after_int
diff --git a/test/lib/completions/aclocal.exp b/test/lib/completions/upgradepkg.exp
similarity index 77%
copy from test/lib/completions/aclocal.exp
copy to test/lib/completions/upgradepkg.exp
index da133aa..8676875 100644
--- a/test/lib/completions/aclocal.exp
+++ b/test/lib/completions/upgradepkg.exp
@@ -11,7 +11,7 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "aclocal "
+assert_complete_any "upgradepkg -"
 
 
 sync_after_int

-- 
bash-completion



More information about the Bash-completion-commits mailing list