X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fwait-twice.c;h=785e684939d31dcfa1994ed586f07e3aab39834a;hb=09bbcd059d4ce05bf6b8da829795409e2da9a899;hp=9386ffe4bebebe553007b2e880c865234c1387d4;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;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"