Modify accept_fd_leak regression test to generate "PASS" output, not
just "FAIL" output, in order to make it consistent with other tests in the regression test tree.
This commit is contained in:
parent
d79243f886
commit
54516c29e8
@ -124,9 +124,10 @@ main(int argc, char *argv[])
|
||||
*/
|
||||
fd3 = dup(STDIN_FILENO);
|
||||
if (fd3 != fd2 + 2) {
|
||||
fprintf(stderr, "TEST FAILED (%d, %d, %d)\n", fd1, fd2, fd3);
|
||||
fprintf(stderr, "FAIL (%d, %d, %d)\n", fd1, fd2, fd3);
|
||||
exit(-1);
|
||||
}
|
||||
} else
|
||||
fprintf(stderr, "PASS\n");
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user