* tests/test-openat-safer.c (main): Execute a Linux specific test only
on Linux.
+2018-12-15 Bruno Haible <bruno@clisp.org>
+
+ openat-safer tests: Avoid test failure on NetBSD 8.
+ * tests/test-openat-safer.c (main): Execute a Linux specific test only
+ on Linux.
+
2018-12-15 Jim Meyering <meyering@fb.com>
regex: work around a bug in glibc-2.27 and prior
errno = 0;
ASSERT (openat (dfd, witness "/", O_RDONLY) == -1);
ASSERT (errno == ENOTDIR || errno == EISDIR || errno == EINVAL);
+#ifdef __linux__
/* Using a bad directory is okay for absolute paths. */
fd = openat (-1, "/dev/null", O_WRONLY);
ASSERT (STDERR_FILENO < fd);
+#endif
/* Using a non-directory is wrong for relative paths. */
errno = 0;
ASSERT (openat (fd, ".", O_RDONLY) == -1);