1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 10:25:37 +03:00

test: add dlopen test for pam_systemd_home

This commit is contained in:
Yu Watanabe 2022-06-03 06:40:43 +09:00 committed by Daan De Meyer
parent 38c87ca2ab
commit a71278840b

View File

@ -2621,7 +2621,7 @@ if conf.get('ENABLE_HOMED') == 1
if conf.get('HAVE_PAM') == 1
version_script_arg = project_source_root / pam_systemd_home_sym
pam_systemd = shared_library(
pam_systemd_home = shared_library(
'pam_systemd_home',
pam_systemd_home_c,
name_prefix : '',
@ -2638,6 +2638,14 @@ if conf.get('ENABLE_HOMED') == 1
install : true,
install_tag : 'pam',
install_dir : pamlibdir)
if want_tests != 'false'
test('dlopen-pam_systemd_home',
test_dlopen,
# path to dlopen must include a slash
args : pam_systemd_home.full_path(),
depends : pam_systemd_home)
endif
endif
endif