]> git.ipfire.org Git - thirdparty/systemd.git/commit - sysusers.d/meson.build
test/TEST-21-SYSUSERS: turn into a unit test
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 26 Sep 2020 09:58:24 +0000 (11:58 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Oct 2020 15:52:51 +0000 (17:52 +0200)
commitbd7e6aa73ac213a7a23ad1837a4e7e0af21c9294
tree8d1b917e1f5c9d909b41caf31385699f02f9d3b3
parentd338bfff4a083b64f405249c49b87f2b74a7d9b8
test/TEST-21-SYSUSERS: turn into a unit test

All this test does is manipulate text files in a subdir specified with --testroot.
It can be a normal unittest without the overhead of creating a machine image.

As a bonus, also test the .standalone version.
61 files changed:
meson.build
sysusers.d/meson.build
test/TEST-21-SYSUSERS/Makefile [deleted symlink]
test/TEST-21-SYSUSERS/test.sh [deleted file]
test/meson.build
test/test-sysusers.sh.in [new file with mode: 0755]
test/test-sysusers/inline.expected-group [moved from test/TEST-21-SYSUSERS/inline.expected-group with 100% similarity]
test/test-sysusers/inline.expected-passwd [moved from test/TEST-21-SYSUSERS/inline.expected-passwd with 100% similarity]
test/test-sysusers/test-1.expected-group [moved from test/TEST-21-SYSUSERS/test-1.expected-group with 100% similarity]
test/test-sysusers/test-1.expected-passwd [moved from test/TEST-21-SYSUSERS/test-1.expected-passwd with 100% similarity]
test/test-sysusers/test-1.input [moved from test/TEST-21-SYSUSERS/test-1.input with 100% similarity]
test/test-sysusers/test-10.expected-group [moved from test/TEST-21-SYSUSERS/test-10.expected-group with 100% similarity]
test/test-sysusers/test-10.expected-passwd [moved from test/TEST-21-SYSUSERS/test-10.expected-passwd with 100% similarity]
test/test-sysusers/test-10.input [moved from test/TEST-21-SYSUSERS/test-10.input with 100% similarity]
test/test-sysusers/test-11.expected-group [moved from test/TEST-21-SYSUSERS/test-11.expected-group with 100% similarity]
test/test-sysusers/test-11.expected-passwd [moved from test/TEST-21-SYSUSERS/test-11.expected-passwd with 100% similarity]
test/test-sysusers/test-11.initial-group [moved from test/TEST-21-SYSUSERS/test-11.initial-group with 100% similarity]
test/test-sysusers/test-11.initial-passwd [moved from test/TEST-21-SYSUSERS/test-11.initial-passwd with 100% similarity]
test/test-sysusers/test-11.input [moved from test/TEST-21-SYSUSERS/test-11.input with 100% similarity]
test/test-sysusers/test-12.expected-group [moved from test/TEST-21-SYSUSERS/test-12.expected-group with 100% similarity]
test/test-sysusers/test-12.expected-passwd [moved from test/TEST-21-SYSUSERS/test-12.expected-passwd with 100% similarity]
test/test-sysusers/test-12.initial-group [moved from test/TEST-21-SYSUSERS/test-12.initial-group with 100% similarity]
test/test-sysusers/test-12.initial-passwd [moved from test/TEST-21-SYSUSERS/test-12.initial-passwd with 100% similarity]
test/test-sysusers/test-12.input [moved from test/TEST-21-SYSUSERS/test-12.input with 100% similarity]
test/test-sysusers/test-13.expected-group [moved from test/TEST-21-SYSUSERS/test-13.expected-group with 100% similarity]
test/test-sysusers/test-13.expected-passwd [moved from test/TEST-21-SYSUSERS/test-13.expected-passwd with 100% similarity]
test/test-sysusers/test-13.input [moved from test/TEST-21-SYSUSERS/test-13.input with 100% similarity]
test/test-sysusers/test-14.expected-group [moved from test/TEST-21-SYSUSERS/test-14.expected-group with 100% similarity]
test/test-sysusers/test-14.expected-passwd [moved from test/TEST-21-SYSUSERS/test-14.expected-passwd with 100% similarity]
test/test-sysusers/test-14.initial-group [moved from test/TEST-21-SYSUSERS/test-14.initial-group with 100% similarity]
test/test-sysusers/test-14.input [moved from test/TEST-21-SYSUSERS/test-14.input with 100% similarity]
test/test-sysusers/test-2.expected-group [moved from test/TEST-21-SYSUSERS/test-2.expected-group with 100% similarity]
test/test-sysusers/test-2.expected-passwd [moved from test/TEST-21-SYSUSERS/test-2.expected-passwd with 100% similarity]
test/test-sysusers/test-2.input [moved from test/TEST-21-SYSUSERS/test-2.input with 100% similarity]
test/test-sysusers/test-3.expected-group [moved from test/TEST-21-SYSUSERS/test-3.expected-group with 100% similarity]
test/test-sysusers/test-3.expected-passwd [moved from test/TEST-21-SYSUSERS/test-3.expected-passwd with 100% similarity]
test/test-sysusers/test-3.input [moved from test/TEST-21-SYSUSERS/test-3.input with 100% similarity]
test/test-sysusers/test-4.expected-group [moved from test/TEST-21-SYSUSERS/test-4.expected-group with 100% similarity]
test/test-sysusers/test-4.expected-passwd [moved from test/TEST-21-SYSUSERS/test-4.expected-passwd with 100% similarity]
test/test-sysusers/test-4.input [moved from test/TEST-21-SYSUSERS/test-4.input with 100% similarity]
test/test-sysusers/test-5.expected-group [moved from test/TEST-21-SYSUSERS/test-5.expected-group with 100% similarity]
test/test-sysusers/test-5.expected-passwd [moved from test/TEST-21-SYSUSERS/test-5.expected-passwd with 100% similarity]
test/test-sysusers/test-5.input [moved from test/TEST-21-SYSUSERS/test-5.input with 100% similarity]
test/test-sysusers/test-6.expected-group [moved from test/TEST-21-SYSUSERS/test-6.expected-group with 100% similarity]
test/test-sysusers/test-6.expected-passwd [moved from test/TEST-21-SYSUSERS/test-6.expected-passwd with 100% similarity]
test/test-sysusers/test-6.input [moved from test/TEST-21-SYSUSERS/test-6.input with 100% similarity]
test/test-sysusers/test-7.expected-group [moved from test/TEST-21-SYSUSERS/test-7.expected-group with 100% similarity]
test/test-sysusers/test-7.expected-passwd [moved from test/TEST-21-SYSUSERS/test-7.expected-passwd with 100% similarity]
test/test-sysusers/test-7.input [moved from test/TEST-21-SYSUSERS/test-7.input with 100% similarity]
test/test-sysusers/test-8.expected-group [moved from test/TEST-21-SYSUSERS/test-8.expected-group with 100% similarity]
test/test-sysusers/test-8.expected-passwd [moved from test/TEST-21-SYSUSERS/test-8.expected-passwd with 100% similarity]
test/test-sysusers/test-8.input [moved from test/TEST-21-SYSUSERS/test-8.input with 100% similarity]
test/test-sysusers/test-9.expected-group [moved from test/TEST-21-SYSUSERS/test-9.expected-group with 100% similarity]
test/test-sysusers/test-9.expected-passwd [moved from test/TEST-21-SYSUSERS/test-9.expected-passwd with 100% similarity]
test/test-sysusers/test-9.input [moved from test/TEST-21-SYSUSERS/test-9.input with 100% similarity]
test/test-sysusers/unhappy-1.expected-err [moved from test/TEST-21-SYSUSERS/unhappy-1.expected-err with 100% similarity]
test/test-sysusers/unhappy-1.input [moved from test/TEST-21-SYSUSERS/unhappy-1.input with 100% similarity]
test/test-sysusers/unhappy-2.expected-err [moved from test/TEST-21-SYSUSERS/unhappy-2.expected-err with 100% similarity]
test/test-sysusers/unhappy-2.input [moved from test/TEST-21-SYSUSERS/unhappy-2.input with 100% similarity]
test/test-sysusers/unhappy-3.expected-err [moved from test/TEST-21-SYSUSERS/unhappy-3.expected-err with 100% similarity]
test/test-sysusers/unhappy-3.input [moved from test/TEST-21-SYSUSERS/unhappy-3.input with 100% similarity]