|
Bugzilla – Full Text Bug Listing |
| Summary: | make check fails if running in the environment with non-english/C locale settings | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | chaonautic |
| Component: | Sudoers | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chaonautic |
| Priority: | normal | ||
| Version: | 1.8.11 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | console output with ukrainian locale (check fails) and then with C locale (check passes). | ||
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. |
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.