X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fwait-twice.c;h=785e684939d31dcfa1994ed586f07e3aab39834a;hb=a03618133f7df0954802a470a4bee7674f7aed45;hp=9386ffe4bebebe553007b2e880c865234c1387d4;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/src/tests/userprog/wait-twice.c b/src/tests/userprog/wait-twice.c index 9386ffe..785e684 100644 --- a/src/tests/userprog/wait-twice.c +++ b/src/tests/userprog/wait-twice.c @@ -1,3 +1,7 @@ +/* Wait for a subprocess to finish, twice. + The first call must wait in the usual way and return the exit code. + The second wait call must return -1 immediately. */ + #include #include "tests/lib.h" #include "tests/main.h"