projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use standard POSIX "ustar" format for the scratch disk.
[pintos-anon]
/
src
/
tests
/
userprog
/
read-stdout.c
diff --git
a/src/tests/userprog/read-stdout.c
b/src/tests/userprog/read-stdout.c
index 0018e4f64d13612e704d611a0bb44a2a008d9ca7..d0630b961d17130f7117e669d43b62b2a59dac71 100644
(file)
--- 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 <stdio.h>
#include <syscall.h>
#include "tests/main.h"