[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-341-gd9a5a88

Ville Skyttä ville.skytta at iki.fi
Sat Jun 4 10:08:50 UTC 2011


The following commit has been merged in the master branch:
commit d9a5a8833297672936091184532fb03f32bd37ed
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Jun 4 13:08:02 2011 +0300

    testsuite: Add chown foo: and :foo test cases, should complete files (RedHat: #710714).

diff --git a/test/lib/completions/chown.exp b/test/lib/completions/chown.exp
index bc1a8c7..6bfd9d0 100644
--- a/test/lib/completions/chown.exp
+++ b/test/lib/completions/chown.exp
@@ -69,5 +69,11 @@ if {!$failed_find_unique_completion} {
     sync_after_int
 }
 
+assert_complete {bar "bar bar.d/" foo foo.d/} "chown foo: $::srcdir/fixtures/shared/default/"
+sync_after_int
+
+assert_complete {bar "bar bar.d/" foo foo.d/} "chown :foo $::srcdir/fixtures/shared/default/"
+sync_after_int
+
 
 teardown

-- 
bash-completion



More information about the Bash-completion-commits mailing list