diff options
Diffstat (limited to 'pintos-progos/tests/userprog/close-bad-fd.c')
| -rw-r--r-- | pintos-progos/tests/userprog/close-bad-fd.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pintos-progos/tests/userprog/close-bad-fd.c b/pintos-progos/tests/userprog/close-bad-fd.c deleted file mode 100644 index f63bb9a..0000000 --- a/pintos-progos/tests/userprog/close-bad-fd.c +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | /* Tries to close an invalid fd, which must either fail silently | ||
| 2 | or terminate with exit code -1. */ | ||
| 3 | |||
| 4 | #include <syscall.h> | ||
| 5 | #include "tests/main.h" | ||
| 6 | |||
| 7 | void | ||
| 8 | test_main (void) | ||
| 9 | { | ||
| 10 | close (0x20101234); | ||
| 11 | } | ||
