summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-08-25 22:42:28 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-08-25 22:42:28 +0200
commit8951e0edc10352c785853a2d429397a7ad42a5b6 (patch)
tree6e5acbbc26d0585cb4cb4cca6f73a799276344b3 /tests
parentcab03f499d69b3b25f83f6be3feb981d74c676d0 (diff)
downloadgnulib-8951e0edc10352c785853a2d429397a7ad42a5b6.tar.gz
Fix test-unlinkat, test-rmdir failure on AIX 5.3.
* tests/test-rmdir.h (test_rmdir_func): Also accept EEXIST for rmdir ("dir/.//"), unlinkat. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-rmdir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-rmdir.h b/tests/test-rmdir.h
index 6d5d56ef2f..e9e625f034 100644
--- a/tests/test-rmdir.h
+++ b/tests/test-rmdir.h
@@ -66,7 +66,7 @@ test_rmdir_func (int (*func) (char const *name), bool print)
ASSERT (unlink (BASE "dir/file") == 0);
errno = 0;
ASSERT (func (BASE "dir/.//") == -1);
- ASSERT (errno == EINVAL || errno == EBUSY);
+ ASSERT (errno == EINVAL || errno == EBUSY || errno == EEXIST);
ASSERT (func (BASE "dir") == 0);
/* Test symlink behavior. Specifying trailing slash should remove