Lines Matching refs:pid
123 if (-f "$opt_d/$pid.core") {
124 print README "; see $pid.core\n";
132 if (-f "$opt_d/$pid.out") {
133 rename("$opt_d/$pid.out", "$opt_d/failure.$n/$pid.out");
137 if (-f "$opt_d/$pid.err") {
138 rename("$opt_d/$pid.err", "$opt_d/failure.$n/$pid.err");
142 if (-f "$opt_d/$pid.core") {
143 rename("$opt_d/$pid.core", "$opt_d/failure.$n/$pid.core");
308 if (($pid = fork()) == -1) {
313 if ($pid == 0) {
348 if (waitpid($pid, 0) == -1) {
351 kill(9, $pid);
361 unlink($pid . '.out');
362 unlink($pid . '.err');
409 if (($pid = fork()) == -1) {
415 if ($pid == 0) {
433 if (waitpid($pid, 0) == -1) {
435 kill(9, $pid);
440 logmsg("[$pid]\n");
462 system("cmp -s $file.out $opt_d/$pid.out") != 0) {
463 fail("stdout mismatch", "$pid.out");
468 system("cmp -s $file.err $opt_d/$pid.err") != 0) {
469 fail("stderr mismatch: see $pid.err");
474 open(TSTERR, "<$opt_d/$pid.err");
479 fail("errtag mismatch: see $pid.err");
486 open(TSTERR, "<$opt_d/$pid.err");
498 fail("droptag mismatch: see $pid.err");
504 unlink($pid . '.out');
505 unlink($pid . '.err');
635 if (($pid = fork()) == -1) {
640 if ($pid == 0) {
657 kill(9, $pid);
658 waitpid($pid, 0);
660 logmsg("[$pid]\n");
663 unlink($pid . '.out');
664 unlink($pid . '.err');