summaryrefslogtreecommitdiff
path: root/tests/test-remove.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-01-07 21:26:34 +0100
committerBruno Haible <bruno@clisp.org>2011-01-07 21:26:34 +0100
commit2fb5b81db6faf835568abe39aab74c306dff97f7 (patch)
tree245309c57edc96621373b5ece536ed8c0f3366fe /tests/test-remove.c
parent5162558286cd70b587e92b74ab54c55cd523dbeb (diff)
downloadgnulib-2fb5b81db6faf835568abe39aab74c306dff97f7.tar.gz
remove test: Avoid failure on HP-UX 11.
* tests/test-remove.c (main): Allow EEXIST as alternative error code.
Diffstat (limited to 'tests/test-remove.c')
-rw-r--r--tests/test-remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-remove.c b/tests/test-remove.c
index 3ea9a9dd24..15d5f2773c 100644
--- a/tests/test-remove.c
+++ b/tests/test-remove.c
@@ -78,7 +78,7 @@ main (void)
/* 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