technicalpickles/homesick

Autotests failure in some non-english locales

gerasiov opened this issue · 1 comments

Autotests in spec do some tests and analyze result (output) of git command.
But on some locales there are localized messages from git and those tests fail.

One example (looks like this is French locale):
https://reproducible.debian.net/logs/unstable/amd64/homesick_1.1.3-1.build2.log.gz

As workaround you could set locale to C during the test or use machine-parsable git commands like "git status --porcelain".

Sample patch is attached.
03-fix-locale-spec-tests.patch.txt

Thanks for pointing this out. Do you have time to work on a PR for this?