View | Details | Raw Unified | Return to bug 237657 | Differences between
and this patch

Collapse All | Expand All

(-)b/tests/sys/kern/pdeathsig.c (-1 / +3 lines)
Lines 305-311 ATF_TC_BODY(signal_delivered_ptrace, tc) Link Here
305
				    WSTOPSIG(status));
305
				    WSTOPSIG(status));
306
			assert(rc == 0);
306
			assert(rc == 0);
307
307
308
			ptrace(PT_DETACH, c_pid, 0, 0);
308
			waitpid(c_pid, &status, 0);
309
			if (!WIFEXITED(status))
310
				ptrace(PT_DETACH, c_pid, 0, 0);
309
311
310
			_exit(0);
312
			_exit(0);
311
		}
313
		}

Return to bug 237657