summaryrefslogtreecommitdiffstats
path: root/pintos-progos/tests/userprog/close-stdin.c
diff options
context:
space:
mode:
Diffstat (limited to 'pintos-progos/tests/userprog/close-stdin.c')
-rw-r--r--pintos-progos/tests/userprog/close-stdin.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/pintos-progos/tests/userprog/close-stdin.c b/pintos-progos/tests/userprog/close-stdin.c
deleted file mode 100644
index 9bbf9f2..0000000
--- a/pintos-progos/tests/userprog/close-stdin.c
+++ /dev/null
@@ -1,11 +0,0 @@
1/* Tries to close the keyboard input stream, which must either
2 fail silently or terminate with exit code -1. */
3
4#include <syscall.h>
5#include "tests/main.h"
6
7void
8test_main (void)
9{
10 close (0);
11}