projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
crypto/gc-des: Fix recent regression.
[gnulib.git]
/
tests
/
test-futimens.h
diff --git
a/tests/test-futimens.h
b/tests/test-futimens.h
index
a0312b7
..
13e7d92
100644
(file)
--- a/
tests/test-futimens.h
+++ b/
tests/test-futimens.h
@@
-1,5
+1,5
@@
/* Test of file timestamp modification functions.
/* Test of file timestamp modification functions.
- Copyright (C) 2009
, 2010
Free Software Foundation, Inc.
+ Copyright (C) 2009
-2011
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-75,6
+75,9
@@
test_futimens (int (*func) (int, struct timespec const *),
/* Invalid arguments. */
errno = 0;
/* Invalid arguments. */
errno = 0;
+ ASSERT (func (AT_FDCWD, NULL) == -1);
+ ASSERT (errno == EBADF);
+ errno = 0;
ASSERT (func (-1, NULL) == -1);
ASSERT (errno == EBADF);
{
ASSERT (func (-1, NULL) == -1);
ASSERT (errno == EBADF);
{