|
Bugzilla – Full Text Bug Listing |
| Summary: | tests fail when run with non-english locale | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Marc Haber <mh+sudo-bugzilla> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | low | ||
| Priority: | low | ||
| Version: | 1.9.10 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| URL: | https://salsa.debian.org/sudo-team/sudo/-/jobs/2412139 | ||
|
Description
Marc Haber
2022-03-14 13:22:52 MDT
The "make check" target sets LC_ALL to either C.UTF-8 (if available) or C and unsets LANG before running the test programs so I thought I had this handled. Running: env LANG=fr_FR.UTF-8 make check passes with no errors. Looking at the raw output from the pipeline I see that it is setting LANGUAGE, which overrides LC_ALL. I've updated the check: target in the Makefiles to unset LANGUAGE too. With that change, the tests pass even when LANGUAGE is set to a non-English locale. https://www.sudo.ws/repos/sudo/rev/87573102f25b I revisited the issue this morning to reinvestigate, came up with the LANGUAGE result, just to find that you solved the issue while I was sleeping. Thank you very much! It is a pleasure packaging your software. Fixed in sudo 1.9.11, which is available now. |