Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / userprog / create-normal.c
diff --git a/src/tests/userprog/create-normal.c b/src/tests/userprog/create-normal.c
new file mode 100644 (file)
index 0000000..10eba33
--- /dev/null
@@ -0,0 +1,8 @@
+#include "tests/lib.h"
+#include "tests/main.h"
+
+void
+test_main (void) 
+{
+  CHECK (create ("quux.dat", 0), "create quux.dat");
+}