diff options
Diffstat (limited to 'pintos-progos/tests/userprog/read-stdout.c')
| -rw-r--r-- | pintos-progos/tests/userprog/read-stdout.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/pintos-progos/tests/userprog/read-stdout.c b/pintos-progos/tests/userprog/read-stdout.c deleted file mode 100644 index d0630b9..0000000 --- a/pintos-progos/tests/userprog/read-stdout.c +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | /* Try reading from fd 1 (stdout), | ||
| 2 | which may just fail or terminate the process with -1 exit | ||
| 3 | code. */ | ||
| 4 | |||
| 5 | #include <stdio.h> | ||
| 6 | #include <syscall.h> | ||
| 7 | #include "tests/main.h" | ||
| 8 | |||
| 9 | void | ||
| 10 | test_main (void) | ||
| 11 | { | ||
| 12 | char buf; | ||
| 13 | read (STDOUT_FILENO, &buf, 1); | ||
| 14 | } | ||
