projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add more tests.
[pintos-anon]
/
grading
/
userprog
/
join-killed.c
diff --git a/grading/userprog/join-killed.c
b/grading/userprog/join-killed.c
new file mode 100644
(file)
index 0000000..
6a8e6b4
--- /dev/null
+++ b/
grading/userprog/join-killed.c
@@ -0,0
+1,11
@@
+#include <stdio.h>
+#include <syscall.h>
+
+int
+main (void)
+{
+ printf ("(join-killed) begin\n");
+ printf ("(join-killed) join(exec()) = %d\n", join (exec ("child-bad")));
+ printf ("(join-killed) end\n");
+ return 0;
+}