aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/userprog/wait-killed.c
blob: 6a2a6b52d1c82112e184f29c23b7fc0eec6e37df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* Wait for a process that will be killed for bad behavior. */

#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"

void
test_main (void) 
{
  msg ("wait(exec()) = %d", wait (exec ("child-bad")));
}