[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 932a4db5dfd9ad56dab204a15a79882c89f31569

Freddy Vulto fvulto at gmail.com
Thu Dec 3 17:46:41 UTC 2009


The following commit has been merged in the master branch:
commit 932a4db5dfd9ad56dab204a15a79882c89f31569
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Thu Dec 3 18:44:30 2009 +0100

    (testsuite) Fix scp completions
    match_items() now does a better job at maintaining a tcl list, that's
    probably why the double escaping at scp isn't necessary anymore.

diff --git a/test/lib/completions/scp.exp b/test/lib/completions/scp.exp
index dd69db3..e68a29c 100644
--- a/test/lib/completions/scp.exp
+++ b/test/lib/completions/scp.exp
@@ -59,7 +59,7 @@ foreach host [get_hosts] {
 }; # foreach
 lappend expected doo: gee: hus: ike:
     # Append local filenames
-lappend expected config known_hosts "spaced\\\\ \\\\ conf"
+lappend expected config known_hosts "spaced\\ \\ conf"
 set dir fixtures/scp
 assert_complete_dir $expected "scp -F config " $dir
 
@@ -93,7 +93,7 @@ foreach host [get_hosts] {
     # Hosts `doo' and `ike' are defined in ./fixtures/scp/known_hosts
 lappend expected doo: gee: hus: ike: jar:
     # Append local filenames
-lappend expected config known_hosts "spaced\\\\ \\\\ conf"
+lappend expected config known_hosts "spaced\\ \\ conf"
 set dir fixtures/scp
 #assert_complete_dir $expected "scp -F 'spaced  conf' " $dir
 set prompt "/$dir/@"

-- 
bash-completion



More information about the Bash-completion-commits mailing list