diff options
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 |