projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: avoid test failure on Solaris 10 due to lack of PATH export
[pspp]
/
tests
/
test-futimens.h
diff --git
a/tests/test-futimens.h
b/tests/test-futimens.h
index a0312b7f883ee1956daf36aaaffa990288ea3756..3a6d1da4c7078636abbf84f8b7cba98485a452ff 100644
(file)
--- a/
tests/test-futimens.h
+++ b/
tests/test-futimens.h
@@
-75,6
+75,9
@@
test_futimens (int (*func) (int, struct timespec const *),
/* Invalid arguments. */
errno = 0;
+ ASSERT (func (AT_FDCWD, NULL) == -1);
+ ASSERT (errno == EBADF);
+ errno = 0;
ASSERT (func (-1, NULL) == -1);
ASSERT (errno == EBADF);
{