summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-02-05 22:44:04 +0200
committerVille Skyttä <ville.skytta@iki.fi>2010-02-05 22:44:04 +0200
commit6810e5564528398ec5bde31e7db4a9cdd4791917 (patch)
tree521a161bdd962423567bbf5158f45b9ae6a6d6bf
parent35ebc8aec8af49a6e4eb9a3b3ab0845c3d5a0da5 (diff)
downloadbash-completion-6810e5564528398ec5bde31e7db4a9cdd4791917.tar.gz
(testsuite) Fix chown basic user completion test on systems with lots of users.
-rw-r--r--test/lib/completions/chown.exp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lib/completions/chown.exp b/test/lib/completions/chown.exp
index 480f6743..3312f5bf 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