Descriptionos/exec: fix test hang
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 issue 5571.
Patch Set 1 #Patch Set 2 : diff -r e84e7204b01b https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r e84e7204b01b https://dvyukov%40google.com@code.google.com/p/go/ #
Total comments: 2
Patch Set 4 : diff -r e84e7204b01b https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 5 : diff -r e84e7204b01b https://dvyukov%40google.com@code.google.com/p/go/ #MessagesTotal messages: 6
|