[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-39-g23ac383

Igor Murzov e-mail at date.by
Thu Sep 6 14:45:36 UTC 2012


The following commit has been merged in the master branch:
commit 23ac38333e469eac47d35dae7c640bff4a6b5203
Author: Igor Murzov <e-mail at date.by>
Date:   Thu Sep 6 18:36:49 2012 +0400

    testsuite/_filedir: Remove the cruft from the a\$b->h unit test (Alioth: #313480)

diff --git a/test/unit/_filedir.exp b/test/unit/_filedir.exp
index b8cc200..a736e6e 100644
--- a/test/unit/_filedir.exp
+++ b/test/unit/_filedir.exp
@@ -88,8 +88,7 @@ foreach name {f f2} {
 
     set test "completing $name a\\\$b/ should return h"
     set cmd "$name a\\\$b/"
-    assert_complete_dir "\b\b\b\b\b$::srcdirabs/fixtures/_filedir/a\\\\\$b/h" \
-        $cmd "$::srcdir/fixtures/_filedir" $test
+    assert_complete_dir h $cmd "$::srcdir/fixtures/_filedir" $test
 
 
     sync_after_int
@@ -199,7 +198,7 @@ foreach name {f f2} {
 
 
     set cmd "$name \"a\\\$b/"; #"
-    assert_complete_dir "\b\b\b\b\b$::srcdirabs/fixtures/_filedir/a\\\\\$b/h\\\"" $cmd "$::srcdir/fixtures/_filedir"
+    assert_complete_dir {h"} $cmd "$::srcdir/fixtures/_filedir"; #"
 
 
     sync_after_int

-- 
bash-completion



More information about the Bash-completion-commits mailing list