* tests/test-access.c (main): Change permissions of f2 file before
attempting to remove it.
+2020-11-30 Bruno Haible <bruno@clisp.org>
+
+ access tests: Fix test failure on native Windows.
+ * tests/test-access.c (main): Change permissions of f2 file before
+ attempting to remove it.
+
2020-11-30 Paul Eggert <eggert@cs.ucla.edu>
faccessat: link with $(LIB_EACCESS)
/* Remove anything from prior partial run. */
unlink (BASE "f");
unlink (BASE "f1");
+ chmod (BASE "f2", 0600);
unlink (BASE "f2");
{
}
/* Cleanup. */
- unlink (BASE "f1");
- unlink (BASE "f2");
+ ASSERT (unlink (BASE "f1") == 0);
+ ASSERT (chmod (BASE "f2", 0600) == 0);
+ ASSERT (unlink (BASE "f2") == 0);
return 0;
}