Closed
Bug 1451246
Opened 6 years ago
Closed 6 years ago
[mozrunner] Always encode key and value of env variables as UTF-8 if those are of unicode type
Categories
(Testing :: Mozbase, enhancement, P1)
Testing
Mozbase
Tracking
(firefox61 fixed)
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
Attachments
(1 file)
Currently we only encode the key and value of env variables as UTF-8 if an interactive session is requested. But we also need that for non-interactive sessions given that `subprocess.Popen()` and specifically `os.execvpe()` would fail otherwise. For details see bug 1451062 comment 3. https://dxr.mozilla.org/mozilla-central/rev/a1fb8ffae378963b128deaaf3a76eff9dbb6be21/testing/mozbase/mozrunner/mozrunner/base/runner.py#115-122
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Attachment #8964804 -
Flags: review?(gbrown)
Comment 2•6 years ago
|
||
mozreview-review |
Comment on attachment 8964804 [details] Bug 1451246 - [mozrunner] Always encode key and value of env variables as UTF-8 if those are of unicode type. https://reviewboard.mozilla.org/r/233530/#review239282
Attachment #8964804 -
Flags: review?(gbrown) → review+
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/72c60d1c5461 [mozrunner] Always encode key and value of env variables as UTF-8 if those are of unicode type. r=gbrown
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/72c60d1c5461
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•