Skip Menu |

This queue is for tickets about the Git-Bunch CPAN distribution.

Report information
The Basics
Id: 106095
Status: resolved
Priority: 0/
Queue: Git-Bunch

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.46
Fixed in: (no value)



Subject: Test suite may fail with non-English locale (again)
t/01-basics.t fails if user has a non-English locale and git is new enough to emit localized messages. E.g. with a German locale: # Failed test 'repo1 is clean' # at t/01-basics.t line 42. # got: '500' # expected: '200' # Failed test 'repo2 is clean' # at t/01-basics.t line 43. # got: '500' # expected: '200' # Looks like you failed 2 tests of 5. # Failed test 'check_bunch: all repos in bunch are clean' # at t/01-basics.t line 308. # Failed test 'repo1 is unclean (message)' # at t/01-basics.t line 89. # 'Unknown (exit=0, output=Auf Branch master # �[49C nderungen, die nicht zum Commit vorgemerkt sind: # (benutzen Sie "git add <Datei>...", um die �[4C nderungen zum Commit vorzumerken) # (benutzen Sie "git checkout -- <Datei>...", um die �[4D nderungen im Arbeitsverzeichnis zu verwerfen) # # geändert: d/b # # keine �[43C nderungen zum Commit vorgemerkt (benutzen Sie "git add" und/oder "git commit -a") # )' # doesn't match '(?^i:needs commit)' # Looks like you failed 1 test of 3. # Failed test 'check_bunch: needs commit' # at t/01-basics.t line 308. (etc.) (sorry, utf8 was somehow scrambled doing copy'n'paste)
Fixed. IPC::System::Locale was broken in 0.03 (since Feb 7) because it was exporting IPC::System::Options' system() & backtick() instead of its own. Fixed in IPC::System::Options 0.18+. On Sun Jul 26 14:13:15 2015, SREZIC wrote: Show quoted text
> t/01-basics.t fails if user has a non-English locale and git is new > enough to emit localized messages. E.g. with a German locale: > > # Failed test 'repo1 is clean' > # at t/01-basics.t line 42. > # got: '500' > # expected: '200' > > # Failed test 'repo2 is clean' > # at t/01-basics.t line 43. > # got: '500' > # expected: '200' > # Looks like you failed 2 tests of 5. > > # Failed test 'check_bunch: all repos in bunch are clean' > # at t/01-basics.t line 308. > > # Failed test 'repo1 is unclean (message)' > # at t/01-basics.t line 89. > # 'Unknown (exit=0, output=Auf Branch master > # �[49C > nderungen, die nicht zum Commit vorgemerkt sind: > # (benutzen Sie "git add <Datei>...", um die �[4C > nderungen zum Commit > vorzumerken) > # (benutzen Sie "git checkout -- <Datei>...", um die �[4D > nderungen im > Arbeitsverzeichnis zu verwerfen) > # > # geändert: d/b > # > # keine �[43C > nderungen zum Commit vorgemerkt (benutzen Sie "git add" > und/oder "git commit -a") > # )' > # doesn't match '(?^i:needs commit)' > # Looks like you failed 1 test of 3. > > # Failed test 'check_bunch: needs commit' > # at t/01-basics.t line 308. > (etc.) > (sorry, utf8 was somehow scrambled doing copy'n'paste)