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