Mercurial > hg > octave-kai > gnulib-hg
changeset 13573:e036e928c3d8
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>
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
---|---|
date | Wed, 25 Aug 2010 22:42:28 +0200 |
parents | 1835fbef9ef4 |
children | ac05886b34b6 |
files | ChangeLog tests/test-rmdir.h |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix test-unlinkat, test-rmdir failure on AIX 5.3. + * tests/test-rmdir.h (test_rmdir_func): Also accept EEXIST for + rmdir ("dir/.//"), unlinkat. + 2010-08-24 Paul Eggert <eggert@cs.ucla.edu> stdbool: avoid spurious failure with modern xlc
--- a/tests/test-rmdir.h +++ b/tests/test-rmdir.h @@ -66,7 +66,7 @@ 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