X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fwrite-stdin.c;h=491ea5380d8d23aeed355f7fcfba66cd495675d9;hb=86a6823c27924913dcfa9af788d16491e0c1546c;hp=9c42bd204d53feb71259a5f9f0f7769c713d38f0;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;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"