]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-watch-pid: use a real PID, not a made up one
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Sep 2023 09:34:57 +0000 (11:34 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Sep 2023 21:22:58 +0000 (23:22 +0200)
commitc407bfa68ff303eee230939461acf3fa8870b8f9
treeca23baddc58288142c8d424cb9946aa88673ddaa
parentec8dc8353087a790aa4b8dc2c6aa565d0af418e2
test-watch-pid: use a real PID, not a made up one

This matters once we track processes with pidfds rather than just pid_t,
because made up PIDs likely won't exist.

The essence of the test remains unmodified, we just use a real, existing
PID instead of 4711.
src/test/test-watch-pid.c