X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fopen-twice.c;h=dd333af1c1ad3ec91757736d75d3948d5366896a;hb=a03618133f7df0954802a470a4bee7674f7aed45;hp=c8841917456cb39e35a9c547aa11a9873757e027;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/src/tests/userprog/open-twice.c b/src/tests/userprog/open-twice.c index c884191..dd333af 100644 --- a/src/tests/userprog/open-twice.c +++ b/src/tests/userprog/open-twice.c @@ -1,3 +1,7 @@ +/* Tries to open the same file twice, + which must succeed and must return a different file descriptor + in each case. */ + #include #include "tests/lib.h" #include "tests/main.h"