Move problem 1-2 (join) into project 2 as the "wait" system call.
[pintos-anon] / grading / userprog / wait-killed.exp
diff --git a/grading/userprog/wait-killed.exp b/grading/userprog/wait-killed.exp
new file mode 100644 (file)
index 0000000..3032421
--- /dev/null
@@ -0,0 +1,6 @@
+(wait-killed) begin
+(child-bad) begin
+child-bad: exit(-1)
+(wait-killed) wait(exec()) = -1
+(wait-killed) end
+wait-killed: exit(0)