Add more tests.
[pintos-anon] / grading / userprog / exit.c
diff --git a/grading/userprog/exit.c b/grading/userprog/exit.c
new file mode 100644 (file)
index 0000000..6be04df
--- /dev/null
@@ -0,0 +1,11 @@
+#include <stdio.h>
+#include <syscall.h>
+
+int
+main (void) 
+{
+  printf ("(exit) begin\n");
+  exit (57);
+  printf ("(exit) fail\n");
+  return 0;
+}