Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / userprog / create-long.c
1 #include <string.h>
2 #include <syscall.h>
3 #include "tests/lib.h"
4 #include "tests/main.h"
5
6 void
7 test_main (void) 
8 {
9   static char name[512];
10   memset (name, 'x', sizeof name);
11   name[sizeof name - 1] = '\0';
12   
13   msg ("create(\"x...\"): %d", create (name, 0));
14 }