|
|
@ -351,10 +351,6 @@ def test_installPihole_fresh_install_readableFiles(host):
|
|
|
|
'r', '/usr/local/share/man/man8/pihole-FTL.8', piholeuser)
|
|
|
|
'r', '/usr/local/share/man/man8/pihole-FTL.8', piholeuser)
|
|
|
|
actual_rc = host.run(check_man).rc
|
|
|
|
actual_rc = host.run(check_man).rc
|
|
|
|
assert exit_status_success == actual_rc
|
|
|
|
assert exit_status_success == actual_rc
|
|
|
|
check_man = test_cmd.format(
|
|
|
|
|
|
|
|
'r', '/usr/local/share/man/man5/pihole-FTL.conf.5', piholeuser)
|
|
|
|
|
|
|
|
actual_rc = host.run(check_man).rc
|
|
|
|
|
|
|
|
assert exit_status_success == actual_rc
|
|
|
|
|
|
|
|
# check not readable sudoers file
|
|
|
|
# check not readable sudoers file
|
|
|
|
check_sudo = test_cmd.format(
|
|
|
|
check_sudo = test_cmd.format(
|
|
|
|
'r', '/etc/sudoers.d/pihole', piholeuser)
|
|
|
|
'r', '/etc/sudoers.d/pihole', piholeuser)
|
|
|
|