X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fwrite-stdin.c;h=491ea5380d8d23aeed355f7fcfba66cd495675d9;hb=000aa464d48cc64e885137e1a8040aca75e9344a;hp=9c42bd204d53feb71259a5f9f0f7769c713d38f0;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/src/tests/userprog/write-stdin.c b/src/tests/userprog/write-stdin.c index 9c42bd2..491ea53 100644 --- a/src/tests/userprog/write-stdin.c +++ b/src/tests/userprog/write-stdin.c @@ -1,3 +1,7 @@ +/* Try writing to fd 0 (stdin), + which may just fail or terminate the process with -1 exit + code. */ + #include #include "tests/lib.h" #include "tests/main.h"