diff options
author | Bruno Haible <bruno@clisp.org> | 2011-01-07 21:26:34 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-01-07 21:26:34 +0100 |
commit | 2fb5b81db6faf835568abe39aab74c306dff97f7 (patch) | |
tree | 245309c57edc96621373b5ece536ed8c0f3366fe /tests/test-remove.c | |
parent | 5162558286cd70b587e92b74ab54c55cd523dbeb (diff) | |
download | gnulib-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.c | 2 |
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 |