summaryrefslogtreecommitdiffstats
path: root/src/tests/userprog/exec-multiple.c
blob: ba4c26ecbd862a46ce39cd8f24ac281fa1c20b3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Executes and waits for multiple child processes. */

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

void
test_main (void) 
{
  wait (exec ("child-simple"));
  wait (exec ("child-simple"));
  wait (exec ("child-simple"));
  wait (exec ("child-simple"));
}