X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fwrite-bad-fd.c;h=f3b11517e6a0ee9293f695857fdd4c77ec674d22;hb=a03618133f7df0954802a470a4bee7674f7aed45;hp=af9a7f25233da5c247fa3917c91e97c4008054c2;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/src/tests/userprog/write-bad-fd.c b/src/tests/userprog/write-bad-fd.c index af9a7f2..f3b1151 100644 --- a/src/tests/userprog/write-bad-fd.c +++ b/src/tests/userprog/write-bad-fd.c @@ -1,3 +1,7 @@ +/* Tries to write to an invalid fd, + which must either fail silently or terminate the process with + exit code -1. */ + #include #include #include "tests/main.h"