projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unigbrk: Fix uc_graphemeclusterbreak_property(), add comprehensive test.
[pspp]
/
tests
/
test-futimens.h
diff --git
a/tests/test-futimens.h
b/tests/test-futimens.h
index ab86ae2171e9b36703328871e93966b4e2a74a88..3a6d1da4c7078636abbf84f8b7cba98485a452ff 100644
(file)
--- a/
tests/test-futimens.h
+++ b/
tests/test-futimens.h
@@
-77,6
+77,9
@@
test_futimens (int (*func) (int, struct timespec const *),
errno = 0;
ASSERT (func (AT_FDCWD, NULL) == -1);
ASSERT (errno == EBADF);
+ errno = 0;
+ ASSERT (func (-1, NULL) == -1);
+ ASSERT (errno == EBADF);
{
struct timespec ts[2] = { { Y2K, UTIME_BOGUS_POS }, { Y2K, 0 } };
errno = 0;