X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fread-bad-fd.c;h=a8b190d0d4b6092609ba0826eb2a49c4b4936f36;hb=d4067a3abb1ef4537030835952e32f22f0063529;hp=029f647f0b2534d6c50daf9566e303457d0fa194;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/src/tests/userprog/read-bad-fd.c b/src/tests/userprog/read-bad-fd.c index 029f647..a8b190d 100644 --- a/src/tests/userprog/read-bad-fd.c +++ b/src/tests/userprog/read-bad-fd.c @@ -1,3 +1,7 @@ +/* Tries to read from an invalid fd, + which must either fail silently or terminate the process with + exit code -1. */ + #include #include #include "tests/lib.h"