Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / grading / userprog / open-missing.c
diff --git a/grading/userprog/open-missing.c b/grading/userprog/open-missing.c
deleted file mode 100644 (file)
index e7a2b84..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <stdio.h>
-#include <syscall.h>
-
-int
-main (void) 
-{
-  int handle;
-  printf ("(open-missing) begin\n");
-  handle = open ("no-such-file");
-  if (handle != -1)
-    printf ("(open-missing) fail: open() returned %d\n", handle);
-  printf ("(open-missing) end\n");
-  return 0;
-}