]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-async: Use ASSERT_OK_ERRNO() instead of ASSERT_OK() where applicable
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Feb 2025 10:14:13 +0000 (11:14 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Feb 2025 18:56:02 +0000 (19:56 +0100)
src/test/test-async.c

index f037bac2bb68c855bfd94e339d60e7eed4aa25d5..443505c3eb06dca1111e1c4965e7ab990384b7dc 100644 (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);