projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exclude_tests: use _Noreturn
[pspp]
/
tests
/
test-rmdir.h
diff --git
a/tests/test-rmdir.h
b/tests/test-rmdir.h
index 757d0306389570a4525473b579d90babf9fc0682..476b307d1078c31cabb580ed3071cbd49d4752ca 100644
(file)
--- a/
tests/test-rmdir.h
+++ b/
tests/test-rmdir.h
@@
-66,7
+66,8
@@
test_rmdir_func (int (*func) (char const *name), bool print)
ASSERT (unlink (BASE "dir/file") == 0);
errno = 0;
ASSERT (func (BASE "dir/.//") == -1);
ASSERT (unlink (BASE "dir/file") == 0);
errno = 0;
ASSERT (func (BASE "dir/.//") == -1);
- ASSERT (errno == EINVAL || errno == EBUSY || errno == EEXIST);
+ ASSERT (errno == EINVAL || errno == EBUSY || errno == EEXIST
+ || errno == ENOTEMPTY);
ASSERT (func (BASE "dir") == 0);
/* Test symlink behavior. Specifying trailing slash should remove
ASSERT (func (BASE "dir") == 0);
/* Test symlink behavior. Specifying trailing slash should remove