• Dmitriy Vyukov's avatar
    os/exec: fix test hang · 4d6bfcf2
    Dmitriy Vyukov authored
    Currently the test closes random files descriptors,
    which leads to hang (in particular if netpoll fd is closed).
    Try to open only fd 3, since the parent process expects it to be fd 3 anyway.
    Fixes #5571.
    
    R=golang-dev, r
    CC=golang-dev
    https://golang.org/cl/9778048
    4d6bfcf2
exec_test.go 14.6 KB