From: Daan De Meyer Date: Thu, 20 Feb 2025 10:14:13 +0000 (+0100) Subject: test-async: Use ASSERT_OK_ERRNO() instead of ASSERT_OK() where applicable X-Git-Tag: v258-rc1~1281^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=216f876d72c0f2dcf1c91b4e32cf062c53ec6b58;p=thirdparty%2Fsystemd.git test-async: Use ASSERT_OK_ERRNO() instead of ASSERT_OK() where applicable --- diff --git a/src/test/test-async.c b/src/test/test-async.c index f037bac2bb6..443505c3eb0 100644 --- a/src/test/test-async.c +++ b/src/test/test-async.c @@ -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);