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:
Robert Watson 2004-09-18 13:06:00 +00:00
parent d79243f886
commit 54516c29e8

View File

@ -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);
}