* tests/test-remove.c (main): Allow EEXIST as alternative error code.
2011-01-07 Bruno Haible <bruno@clisp.org>
+ remove test: Avoid failure on HP-UX 11.
+ * tests/test-remove.c (main): Allow EEXIST 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.
/* Empty directory. */
errno = 0;
ASSERT (remove (BASE "dir/.//") == -1);
- ASSERT (errno == EINVAL || errno == EBUSY);
+ ASSERT (errno == EINVAL || errno == EBUSY || errno == EEXIST);
ASSERT (remove (BASE "dir") == 0);
/* Test symlink behavior. Specifying trailing slash should remove