unigbrk: New modules for grapheme clusters.
[pspp] / tests / test-rmdir.h
index 6d5d56ef2f03961eaff4bea8477de4aa3c21c833..e9e625f034998c1239d2e873581f9d58a10b7f6e 100644 (file)
@@ -66,7 +66,7 @@ test_rmdir_func (int (*func) (char const *name), bool print)
   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