Move offline-password.[ch] to shared and add test-offline-passwd
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 18 Jul 2020 12:03:51 +0000 (14:03 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 18 Jul 2020 12:14:19 +0000 (14:14 +0200)
commit3e5d2264b584504769eda3a248b45c3367829e7a
tree66eca9cbd92a2ff51d19733c630d262c3ef7b832
parent7f16ef9fba3ba16c66452ca1d96c6c68cc8ebe3e
Move offline-password.[ch] to shared and add test-offline-passwd

The test binary has two modes: in the default argument-less mode, it
just checks that "root" can be resolved. When invoked manually, a root
prefix and user/group names can be specified.
src/shared/offline-passwd.c [new file with mode: 0644]
src/shared/offline-passwd.h [new file with mode: 0644]
src/test/meson.build
src/test/test-offline-passwd.c [new file with mode: 0644]
src/tmpfiles/meson.build
src/tmpfiles/offline-passwd.c [deleted file]
src/tmpfiles/offline-passwd.h [deleted file]