proc: bugfix: cleaning up spurious process exited errors (#599)

Fixes flakiness of TestCmdLineArgs.
This commit is contained in:
Alessandro Arzilli
2016-07-21 00:36:31 +02:00
committed by Derek Parker
parent c7f11149d7
commit 16f16cf86d
3 changed files with 6 additions and 7 deletions

View File

@ -1685,7 +1685,7 @@ func TestCmdLineArgs(t *testing.T) {
}
exit, exited := err.(ProcessExitedError)
if !exited {
t.Fatalf("Process did not exit!", err)
t.Fatalf("Process did not exit: %v", err)
} else {
if exit.Status != 0 {
t.Fatalf("process exited with invalid status", exit.Status)