* tests/test-mkdir.h (test_mkdir): Allow EOPNOTSUPP as alternative
error code.
+2011-01-07 Bruno Haible <bruno@clisp.org>
+
+ mkdir, mkdirat tests: Avoid failure on HP-UX 11.11.
+ * tests/test-mkdir.h (test_mkdir): Allow EOPNOTSUPP as alternative
+ error code.
+
2011-01-07 Pádraig Brady <P@draigBrady.com>
ignore-value: fixup comments, and add Eric Blake
ASSERT (errno == ENOTDIR || errno == EEXIST);
errno = 0;
ASSERT (func (BASE "file/dir", 0700) == -1);
- ASSERT (errno == ENOTDIR || errno == ENOENT);
+ ASSERT (errno == ENOTDIR || errno == ENOENT || errno == EOPNOTSUPP);
ASSERT (unlink (BASE "file") == 0);
errno = 0;
ASSERT (func ("", 0700) == -1);