Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / userprog / open-null.c
diff --git a/src/tests/userprog/open-null.c b/src/tests/userprog/open-null.c
new file mode 100644 (file)
index 0000000..ba30807
--- /dev/null
@@ -0,0 +1,9 @@
+#include <stddef.h>
+#include <syscall.h>
+#include "tests/main.h"
+
+void
+test_main (void) 
+{
+  open (NULL);
+}