X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fclose-twice.c;h=830bccf38be9ddf4df11d4014ac43cc527831206;hb=86a6823c27924913dcfa9af788d16491e0c1546c;hp=d3f1e57bc5a81f4fc004b2fd3a0261114f18ea53;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;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"