X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fread-stdout.c;h=d0630b961d17130f7117e669d43b62b2a59dac71;hb=HEAD;hp=0018e4f64d13612e704d611a0bb44a2a008d9ca7;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/src/tests/userprog/read-stdout.c b/src/tests/userprog/read-stdout.c index 0018e4f..d0630b9 100644 --- a/src/tests/userprog/read-stdout.c +++ b/src/tests/userprog/read-stdout.c @@ -1,3 +1,7 @@ +/* Try reading from fd 1 (stdout), + which may just fail or terminate the process with -1 exit + code. */ + #include #include #include "tests/main.h"