diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-17 00:58:20 +0100 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-17 01:09:28 +0100 |
commit | 417491f122b346a31cf8dc406c4f9195a5900cec (patch) | |
tree | a0b3ab0f8aba4110db3e9c1eaebd46451a2ca570 /test | |
parent | Merge pull request #1922 from phomes/sort-includes (diff) | |
download | systemd-417491f122b346a31cf8dc406c4f9195a5900cec.tar.xz systemd-417491f122b346a31cf8dc406c4f9195a5900cec.zip |
tests: copy /etc/pam.d/systemd-user from the host on Debian, Ubuntu
Fixes:
systemd-testsuite systemd[34]: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
systemd-testsuite systemd[34]: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
systemd-testsuite systemd[34]: user@0.service: Failed at step PAM spawning /lib/systemd/systemd: Operation not permitted
...
on Debian, Ubuntu
Diffstat (limited to 'test')
-rw-r--r-- | test/test-functions | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-functions b/test/test-functions index c4cf2921c8..a6eea662fc 100644 --- a/test/test-functions +++ b/test/test-functions @@ -284,6 +284,9 @@ install_pam() { ) | while read file; do inst $file done + + [[ "$LOOKS_LIKE_DEBIAN" ]] && + cp /etc/pam.d/systemd-user $initdir/etc/pam.d/ } install_keymaps() { |