random: Fix behavior of kernel option "-rs".
[pintos-anon] / src / tests / userprog / wait-bad-pid.c
1 /* Waits for an invalid pid.  This may fail or terminate the
2    process with -1 exit code. */
3
4 #include <syscall.h>
5 #include "tests/main.h"
6
7 void
8 test_main (void) 
9 {
10   wait ((pid_t) 0x0c020301);
11 }