tailscale/cmd/testwrapper
Paul Scott 683ba62f3e
cmd/testwrapper: fix exit deflake (#9342)
Sometimes `go test` would exit and close its stdout before we started reading
it, and we would return that "file closed" error then forget to os.Exit(1).
Fixed to prefer the go test subprocess error and exit regardless of the type of
error.

Fixes #9334

Signed-off-by: Paul Scott <paul@tailscale.com>
2023-09-11 19:06:11 +01:00
..
flakytest cmd/testwrapper/flakytest: don't spam stderr in Mark when not under wrapper 2023-09-11 11:04:18 -07:00
testwrapper.go cmd/testwrapper: fix exit deflake (#9342) 2023-09-11 19:06:11 +01:00
testwrapper_test.go cmd/testwrapper: exit code 1 when go build fails (#9276) 2023-09-07 17:18:26 +01:00