From: Anouk Ceyssens Date: Mon, 22 Jul 2024 21:27:52 +0000 (+0200) Subject: test-daemon: use new assertion macros X-Git-Tag: v257-rc1~847^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e07d3a917a3f2682b00a8a71d32c5335ef32d328;p=thirdparty%2Fsystemd.git test-daemon: use new assertion macros --- diff --git a/src/test/test-daemon.c b/src/test/test-daemon.c index b880521025e..5d6c52374cf 100644 --- a/src/test/test-daemon.c +++ b/src/test/test-daemon.c @@ -19,7 +19,7 @@ int main(int argc, char *argv[]) { if (argc >= 2) { unsigned x; - assert_se(safe_atou(argv[1], &x) >= 0); + ASSERT_OK(safe_atou(argv[1], &x)); duration = x * USEC_PER_SEC; }