X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fclose-twice.c;h=830bccf38be9ddf4df11d4014ac43cc527831206;hb=a43de5270109e60db2284c929a368b083e1ff316;hp=d3f1e57bc5a81f4fc004b2fd3a0261114f18ea53;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/src/tests/userprog/close-twice.c b/src/tests/userprog/close-twice.c index d3f1e57..830bccf 100644 --- a/src/tests/userprog/close-twice.c +++ b/src/tests/userprog/close-twice.c @@ -1,3 +1,7 @@ +/* Opens a file and then tries to close it twice. The second + close must either fail silently or terminate with exit code + -1. */ + #include #include "tests/lib.h" #include "tests/main.h"