Bugs item #313480, was opened at 2011-12-26 17:38 by Ville Skyttä
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313480&group_id=100114

Status: Open
Priority: 3
Submitted By: Ville Skyttä  (scop-guest)
Assigned to: Nobody (None)
Summary: _filedir a$b -> h unit test failure 
Distribution: None
Originally reported in: None
Milestone: None
Status: None
Original bug number: 


Initial Comment:
bash 4.2.20(1)-release

$ ./runUnit --debug _filedir.exp
[...]
Running ./unit/_filedir.exp ...
FAIL: completing f a\$b/ should return h
FAIL: f "a\$b/ should show completion
FAIL: completing f2 a\$b/ should return h
[...]

That test case looks quite weird to me (what are those \b's for?), help needed. 
 dbg.log contains stuff like:


send: sending "f a\$b/\t" to { exp7 }

expect: does "" (spawn_id exp7) match exact string "f a\$b/"? no
f a\$b/
expect: does "f a\$b/" (spawn_id exp7) match exact string "f a\$b/"? yes
expect: set expect_out(0,string) "f a\$b/"
expect: set expect_out(spawn_id) "exp7"
expect: set expect_out(buffer) "f a\$b/"
Gate keeper glob pattern 
f/home/scop/cvs/bash-completion/test/fixtures/_filedir/a\\\$b/h 
$'/home/scop/cvs/bash-completion/test/fixtures/_filedir/a\\\$b/h '. Activating 
booster.
Gate keeper glob pattern for '^/@$' is '/@'. Activating booster.

expect: does "" (spawn_id exp7) match regular expression 
"^\u0008\u0008\u0008\u0008\u0008/home/scop/cvs/bash-completion/test/fixtures/_filedir/a\\\$b/h
 $"? Gate 
"\u0008\u0008\u0008\u0008\u0008/home/scop/cvs/bash-completion/test/fixtures/_filedir/a\\\$b/h
 "? gate=no
"^/@$"? Gate "/@"? gate=no
h 
expect: does "h " (spawn_id exp7) match regular expression 
"^\u0008\u0008\u0008\u0008\u0008/home/scop/cvs/bash-completion/test/fixtures/_filedir/a\\\$b/h
 $"? Gate 
"\u0008\u0008\u0008\u0008\u0008/home/scop/cvs/bash-completion/test/fixtures/_filedir/a\\\$b/h
 "? gate=no
"^/@$"? Gate "/@"? gate=no
expect: timed out
FAIL: completing f a\$b/ should return h


----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313480&group_id=100114

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to