Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / userprog / open-boundary.c
1 #include <syscall.h>
2 #include "tests/userprog/boundary.h"
3 #include "tests/lib.h"
4 #include "tests/main.h"
5
6 void
7 test_main (void) 
8 {
9   CHECK (open (copy_string_across_boundary ("sample.txt")) > 1,
10          "open \"sample.txt\"");
11 }