Summary: | sys-apps/portage: unit test failures and errors when source directory and TMPDIR contain non-UTF8 characters | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Zac Medico <zmedico> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | marco |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Log of test failures with current master branch at e974bf337cc427283be3e10e986151cba281a023 |
Created attachment 702270 [details]
Log of test failures with current master branch at e974bf337cc427283be3e10e986151cba281a023
|
Locally, I used printf "\\xa9" to generate a non-utf8 character, and I tested with sources in /tmp/portage�-not-utf8 and with TMPDIR=/tmp/tmpdir�-not-utf8 (I can copy and paste the non-UTF8 character in xfce4-terminal). I use these these steps to run the tests: > $ git worktree add /tmp/portage�-not-utf8 HEAD > $ cd /tmp/portage�-not-utf8 HEAD > $ export TMPDIR=/tmp/tmpdir�-not-utf8 > $ lib/portage/tests/runTests.py