diff options
Diffstat (limited to 'tests/test-pread.c')
-rw-r--r-- | tests/test-pread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-pread.c b/tests/test-pread.c index e5473d641b..4416bd1621 100644 --- a/tests/test-pread.c +++ b/tests/test-pread.c @@ -92,6 +92,7 @@ main (void) } { char byte; + close (99); errno = 0; ASSERT (pread (99, &byte, 1, 0) == -1); ASSERT (errno == EBADF); |