]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/meson.build
test/TEST-21-SYSUSERS: turn into a unit test
[thirdparty/systemd.git] / test / meson.build
index 5d9fb5ab50925757e09af03f0f066dfd84033ded..5656abdf72a97df0277d351c9313aba86eb67789 100644 (file)
@@ -58,6 +58,21 @@ test_network_generator_conversion_sh = find_program('test-network-generator-conv
 
 ############################################################
 
+test_sysusers_dir = join_paths(meson.current_source_dir(), 'test-sysusers')
+
+test_sysusers_sh = configure_file(
+        input : 'test-sysusers.sh.in',
+        output : 'test-sysusers.sh',
+        configuration : substs)
+if install_tests and conf.get('ENABLE_SYSUSERS') == 1
+        install_data(test_sysusers_sh,
+                     install_dir : testsdir)
+        install_subdir('test-sysusers',
+                       install_dir : testdata_dir)
+endif
+
+############################################################
+
 rule_syntax_check_py = find_program('rule-syntax-check.py')
 if want_tests != 'false'
         test('rule-syntax-check',