projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move problem 1-2 (join) into project 2 as the "wait" system call.
[pintos-anon]
/
grading
/
userprog
/
prep-disk
diff --git
a/grading/userprog/prep-disk
b/grading/userprog/prep-disk
index f525b07adc38fbfb6bf21d81d469066a809887f3..39d078eba540b0e82a950eafe47dfb4b1bc6b161 100755
(executable)
--- a/
grading/userprog/prep-disk
+++ b/
grading/userprog/prep-disk
@@
-46,10
+46,10
@@
put_file ("sample.txt")
put_file ("child-simple")
if grep ($_ eq $test,
qw (exec-once exec-multiple
put_file ("child-simple")
if grep ($_ eq $test,
qw (exec-once exec-multiple
-
join-simple join
-twice));
+
wait-simple wait
-twice));
put_file ("child-arg") if $test eq 'exec-arg';
put_file ("child-close") if $test eq 'multi-child-fd';
put_file ("child-arg") if $test eq 'exec-arg';
put_file ("child-close") if $test eq 'multi-child-fd';
-put_file ("child-bad") if $test eq '
join
-killed';
+put_file ("child-bad") if $test eq '
wait
-killed';
sub put_file {
my ($fn) = @_;
sub put_file {
my ($fn) = @_;