mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Remove test for sudo file as well
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
a87d1bbc4f
commit
54186a63ee
@ -174,10 +174,6 @@ def test_installPihole_fresh_install_readableFiles(host):
|
|||||||
)
|
)
|
||||||
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 not readable sudoers file
|
|
||||||
check_sudo = test_cmd.format("r", "/etc/sudoers.d/pihole", piholeuser)
|
|
||||||
actual_rc = host.run(check_sudo).rc
|
|
||||||
assert exit_status_success != actual_rc
|
|
||||||
# check not readable cron file
|
# check not readable cron file
|
||||||
check_sudo = test_cmd.format("x", "/etc/cron.d/", piholeuser)
|
check_sudo = test_cmd.format("x", "/etc/cron.d/", piholeuser)
|
||||||
actual_rc = host.run(check_sudo).rc
|
actual_rc = host.run(check_sudo).rc
|
||||||
|
Loading…
Reference in New Issue
Block a user