]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: modernize tests.c and tests.h 38329/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 24 Jul 2025 23:50:11 +0000 (08:50 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 25 Jul 2025 00:10:25 +0000 (09:10 +0900)
commitb089f6567616c08f845f3eff17c20dd7589be51b
tree4b261b4f2d83d49b2a06b5a3f21b75b06f1a7082
parent468b10b1887311b0799b882512db8b3334bf72fc
test: modernize tests.c and tests.h

- use ASSERT_OK() and friends,
- use mkdtemp_malloc(),
- use pidref_safe_fork() and pidref_wait_for_terminate_and_check().
src/shared/tests.c
src/shared/tests.h