10 msg (
"wait(exec()) = %d",
wait (
exec (
"child-bad")));
static void wait(struct intq *q, struct thread **waiter)
pid_t exec(const char *file)
void msg(const char *format,...)
void test_main(void)
Wait for a process that will be killed for bad behavior.