Bugzilla – Bug 672
make check fails if running in the environment with non-english/C locale settings
Last modified: 2015-02-09 15:12:52 MST
Created attachment 434 [details] console output with ukrainian locale (check fails) and then with C locale (check passes). when running „make check“ after sudo compilation in the environment with non-english/C locale settings, it fails (see attachment for the output). if locale is set to C or en_US (not tested with other english locales), „make check“ for the same compilation succeeds. as far i can see, failing tests rely on error messages instead of locale-agnostic exit codes or so.
I've committed a change to run those tests in the C locale, http://www.sudo.ws/repos/sudo/rev/adf7997a0a65 Those tests use visudo and testsudoers so they need to be run in the C locale so that the output matches.
Fixed in sudo 1.8.12, available now.