]> git.ipfire.org Git - thirdparty/systemd.git/commit
tests: add a helper that dumps /run/utmp in detail
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 31 May 2022 13:23:35 +0000 (15:23 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 31 May 2022 20:30:08 +0000 (22:30 +0200)
commite31355bbc14e6ee96162c56c5e625aafcf42f9ef
tree6d788ccaa5b761720fc6b569eaf67198580b5d5e
parent16618332388442f2f1c3e52b0a9fde00121564a3
tests: add a helper that dumps /run/utmp in detail

utmpdump doesn't print all the details. Looking at the list if useful
when trying to tweak the wall filtering logic.

This doesn't do much, but at least it serves as a smoke test for the cleanup
functions.
src/test/meson.build
src/test/test-utmp.c [new file with mode: 0644]