unigbrk: Fix uc_graphemeclusterbreak_property(), add comprehensive test.
[pspp] / tests / test-futimens.h
index a0312b7f883ee1956daf36aaaffa990288ea3756..3a6d1da4c7078636abbf84f8b7cba98485a452ff 100644 (file)
@@ -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);
   {