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)