Closed Bug 1467289 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 11367 - fix `python wpt make-hosts-file` command in README for PowerShell on Windows 10

Categories

(Testing :: web-platform-tests, defect, P4)

defect

Tracking

(firefox63 fixed)

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11367 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/11367
Details from upstream follow.

C. Van Wiemeersch <cvan@users.noreply.github.com> wrote:
>  fix `python wpt make-hosts-file` command in README for PowerShell on Windows 10
>  
>  on my Windows 10 machine, `%SystemRoot%` did not work in PowerShell (run as administrator).
>  
>  see this screenshot of when I called the command using `%SystemRoot%` vs. `$env:systemroot`:
>  
>  ![screenshot of PowerShell commands](https://user-images.githubusercontent.com/203725/41017141-6de7753e-6908-11e8-89c9-fa872f040311.png)
>
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1000c9107fd4
[wpt PR 11367] - fix `python wpt make-hosts-file` command in README for PowerShell on Windows 10, a=testonly
https://hg.mozilla.org/mozilla-central/rev/1000c9107fd4
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.