]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-process-util: do not pass NULL to printf, simplify tests
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 7 Jun 2022 14:03:12 +0000 (16:03 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 9 Jun 2022 11:25:17 +0000 (13:25 +0200)
commitfa1aa468b941f7d89677ea09cd413f55b5c8c030
tree315336b93af6caf8d5459933ca87ddcb628d98e6
parente9edf285db966e92874b57098ba193277cef6121
test-process-util: do not pass NULL to printf, simplify tests

We don't need to fork to test that the function returns -EINVAL
on null input. So let's simplify things a bit.
src/test/test-process-util.c