]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tests: intsall /etc/login.defs 1907/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 16 Nov 2015 03:10:54 +0000 (03:10 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 16 Nov 2015 03:15:10 +0000 (03:15 +0000)
Fixes:
systemd-testsuite login[31]: cannot open login definitions /etc/login.defs [No such file or directory]
systemd-testsuite systemd[1]: Received SIGCHLD from PID 31 (login).
systemd-testsuite systemd[1]: Child 31 (login) died (code=exited, status=1/FAILURE)
systemd-testsuite systemd[1]: console-getty.service: Child 31 belongs to console-getty.service
systemd-testsuite systemd[1]: console-getty.service: Main process exited, code=exited, status=1/FAILURE
systemd-testsuite systemd[1]: console-getty.service: Changed running -> dead

on Debian/Ubuntu

Useful on other distros

test/test-functions

index dcf50dd00c0b6d6d51a3014e79e5aec856bc8478..c4cf2921c8164cd80b99929af1ac4b0adc72fe81 100644 (file)
@@ -226,6 +226,7 @@ install_config_files() {
     inst /etc/sysconfig/init
     inst /etc/passwd
     inst /etc/shadow
+    inst /etc/login.defs
     inst /etc/group
     inst /etc/shells
     inst /etc/nsswitch.conf