Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / grading / userprog / wait-twice.c
diff --git a/grading/userprog/wait-twice.c b/grading/userprog/wait-twice.c
deleted file mode 100644 (file)
index c104b61..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <stdio.h>
-#include <syscall.h>
-
-int
-main (void) 
-{
-  pid_t child;
-  printf ("(wait-twice) begin\n");
-  child = exec ("child-simple");
-  printf ("(wait-twice) wait(exec()) = %d\n", wait (child));
-  wait (child);
-  printf ("(wait-twice) end\n");
-  return 0;
-}