From 2fb5b81db6faf835568abe39aab74c306dff97f7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 7 Jan 2011 21:26:34 +0100 Subject: remove test: Avoid failure on HP-UX 11. * tests/test-remove.c (main): Allow EEXIST as alternative error code. --- tests/test-remove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test-remove.c') 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 -- cgit v1.2.1