mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
test-async: Use ASSERT_OK_ERRNO() instead of ASSERT_OK() where applicable
This commit is contained in:
@@ -100,7 +100,7 @@ TEST(asynchronous_rm_rf) {
|
||||
for (;;) {
|
||||
siginfo_t si = {};
|
||||
|
||||
ASSERT_OK(waitid(P_ALL, 0, &si, WEXITED));
|
||||
ASSERT_OK_ERRNO(waitid(P_ALL, 0, &si, WEXITED));
|
||||
|
||||
if (access(tt, F_OK) < 0) {
|
||||
assert_se(errno == ENOENT);
|
||||
|
||||
Reference in New Issue
Block a user