test-async: Use ASSERT_OK_ERRNO() instead of ASSERT_OK() where applicable

This commit is contained in:
Daan De Meyer
2025-02-20 11:14:13 +01:00
parent 1cd9049498
commit 216f876d72

View File

@@ -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);