[Bash-completion-devel] [bash-completion-Bugs][312477] _filedir unit test fails in C locale with bash 4.1.x, with any locale with bash 3.2.x

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Mon Oct 11 20:13:06 UTC 2010


Bugs item #312477, was changed at 2010-04-26 18:35 by Freddy Vulto
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312477&group_id=100114

Status: Open
Priority: 3
Submitted By: Ville Skyttä  (scop-guest)
Assigned to: Nobody (None)
Summary: _filedir unit test fails in C locale with bash 4.1.x, with any locale with bash 3.2.x 
Distribution: None
Originally reported in: None
Milestone: None
Status: None
Original bug number: 


Initial Comment:
With my usual setting (LANG=en_US.UTF-8) it passes, but:

$ LANG=C ./runUnit _filedir.exp
WARNING: Couldn't find the global config file.
Test Run By scop on Mon Apr 26 19:33:04 2010
Native configuration is x86_64-unknown-linux-gnu

                === unit tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/default.exp as tool-and-target-specific interface file.
Running ./unit/_filedir.exp ...
FAIL: f aé/ should show completions at timeout
FAIL: f aé/ should show completions

                === unit Summary ===

# of expected passes            46
# of unexpected failures        2
/home/scop/cvs/bash-completion/test, bash-4.1.2(1)-release


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

>Comment By: Freddy Vulto (fvu-guest)
Date: 2010-10-11 22:13

Message:
Don't know what's going on.  I get your errors when running from cron.  But when running manual with locale set to "en_US.UTF-8", tcl/expect/dejagnu chokes on the unicode char, from dbg.log:


send: sending "f a\u00e9/\t" to { exp9 }



expect: does "" (spawn_id exp9) match exact string "f a\u00e9/"? no

f

expect: does "f" (spawn_id exp9) match exact string "f a\u00e9/"? no

 

expect: does "f " (spawn_id exp9) match exact string "f a\u00e9/"? no

a

expect: does "f a" (spawn_id exp9) match exact string "f a\u00e9/"? no

expect: read eof

expect: set expect_out(spawn_id) "exp9"

expect: set expect_out(buffer) "f a"

write() failed to write anything - will sleep(1) and retry...
ERROR: tcl error sourcing ./unit/_filedir.exp.
ERROR: expect: spawn id exp9 not open

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

Comment By: Ville Skyttä  (scop-guest)
Date: 2010-10-10 10:53

Message:
It also fails the same way for me with bash 3.2.25 and 3.2.39, no matter what LANG is set to.

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

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



More information about the Bash-completion-devel mailing list