[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 6810e5564528398ec5bde31e7db4a9cdd4791917

Ville Skyttä ville.skytta at iki.fi
Fri Feb 5 20:44:56 UTC 2010


The following commit has been merged in the master branch:
commit 6810e5564528398ec5bde31e7db4a9cdd4791917
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Feb 5 22:44:04 2010 +0200

    (testsuite) Fix chown basic user completion test on systems with lots of users.

diff --git a/test/lib/completions/chown.exp b/test/lib/completions/chown.exp
index 480f674..3312f5b 100644
--- a/test/lib/completions/chown.exp
+++ b/test/lib/completions/chown.exp
@@ -10,7 +10,10 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "chown "
+set users [exec bash -c "compgen -A user"]
+assert_complete $users "chown "
+
+
 sync_after_int
 
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list