Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / userprog / create-null.c
diff --git a/src/tests/userprog/create-null.c b/src/tests/userprog/create-null.c
new file mode 100644 (file)
index 0000000..98b2bed
--- /dev/null
@@ -0,0 +1,8 @@
+#include "tests/lib.h"
+#include "tests/main.h"
+
+void
+test_main (void) 
+{
+  msg ("create(NULL): %d", create (NULL, 0));
+}