Lines Matching refs:pid
142 if (-f "$opt_d/$pid.core") {
143 print README "; see $pid.core\n";
151 if (-f "$opt_d/$pid.out") {
152 rename("$opt_d/$pid.out", "$opt_d/failure.$n/$pid.out");
156 if (-f "$opt_d/$pid.err") {
157 rename("$opt_d/$pid.err", "$opt_d/failure.$n/$pid.err");
161 if (-f "$opt_d/$pid.core") {
162 rename("$opt_d/$pid.core", "$opt_d/failure.$n/$pid.core");
327 if (($pid = fork()) == -1) {
332 if ($pid == 0) {
367 if (waitpid($pid, 0) == -1) {
370 kill(9, $pid);
380 unlink($pid . '.out');
381 unlink($pid . '.err');
428 if (($pid = fork()) == -1) {
434 if ($pid == 0) {
452 if (waitpid($pid, 0) == -1) {
454 kill(9, $pid);
459 logmsg("[$pid]\n");
481 system("cmp -s $file.out $opt_d/$pid.out") != 0) {
482 fail("stdout mismatch", "$pid.out");
487 system("cmp -s $file.err $opt_d/$pid.err") != 0) {
488 fail("stderr mismatch: see $pid.err");
493 open(TSTERR, "<$opt_d/$pid.err");
498 fail("errtag mismatch: see $pid.err");
505 open(TSTERR, "<$opt_d/$pid.err");
517 fail("droptag mismatch: see $pid.err");
523 unlink($pid . '.out');
524 unlink($pid . '.err');
659 if (($pid = fork()) == -1) {
664 if ($pid == 0) {
681 kill(9, $pid);
682 waitpid($pid, 0);
684 logmsg("[$pid]\n");
687 unlink($pid . '.out');
688 unlink($pid . '.err');