Skip to content

Autotests failure in some non-english locales #147

@gerasiov

Description

@gerasiov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions