• Lubomir I. Ivanov (VMware)'s avatar
    os/exec: fix Win32 tests missing 'chcp' · 353bba37
    Lubomir I. Ivanov (VMware) authored
    '%SystemRoot%/System32/chcp.com' is a tool on Windows that
    is used to change the active code page in the console.
    
    'go test os/exec' can fail with:
    "'chcp' is not recognized as an internal or external command"
    
    The test uses a custom PATH variable but does not include
    '%SystemRoot%/System32'. Always append that to PATH.
    
    Updates #24709
    
    Change-Id: I1ab83b326072e3f0086b391b836234bcfd8a1fb7
    GitHub-Last-Rev: fb930529bb0673cdec921df5a2821c4b41de745e
    GitHub-Pull-Request: golang/go#25088
    Reviewed-on: https://go-review.googlesource.com/109361
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    353bba37
Name
Last commit
Last update
..
env_test.go Loading commit data...
example_test.go Loading commit data...
exec.go Loading commit data...
exec_posix_test.go Loading commit data...
exec_test.go Loading commit data...
exec_unix.go Loading commit data...
exec_windows.go Loading commit data...
internal_test.go Loading commit data...
lp_plan9.go Loading commit data...
lp_test.go Loading commit data...
lp_unix.go Loading commit data...
lp_unix_test.go Loading commit data...
lp_windows.go Loading commit data...
lp_windows_test.go Loading commit data...