mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-20 06:10:12 +00:00
Don't check and install old FTL config file
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
0becc7615a
commit
7da57c6acd
3 changed files with 5 additions and 20 deletions
|
@ -80,9 +80,10 @@ def test_installPihole_fresh_install_readableFiles(host):
|
|||
host.run("command -v dnf > /dev/null && dnf install -y man")
|
||||
host.run("command -v yum > /dev/null && yum install -y man")
|
||||
# Workaround to get FTLv6 installed until it reaches master branch
|
||||
host.run("""
|
||||
echo "new/http" > /etc/pihole/ftlbranch
|
||||
host.run(
|
||||
"""
|
||||
echo "new/http" > /etc/pihole/ftlbranch
|
||||
"""
|
||||
)
|
||||
install = host.run(
|
||||
"""
|
||||
|
@ -141,13 +142,6 @@ def test_installPihole_fresh_install_readableFiles(host):
|
|||
check_macvendor = test_cmd.format("r", "/etc/pihole/macvendor.db", piholeuser)
|
||||
actual_rc = host.run(check_macvendor).rc
|
||||
assert exit_status_success == actual_rc
|
||||
# readable and writeable pihole-FTL.conf
|
||||
check_FTLconf = test_cmd.format("r", "/etc/pihole/pihole-FTL.conf", piholeuser)
|
||||
actual_rc = host.run(check_FTLconf).rc
|
||||
assert exit_status_success == actual_rc
|
||||
check_FTLconf = test_cmd.format("w", "/etc/pihole/pihole-FTL.conf", piholeuser)
|
||||
actual_rc = host.run(check_FTLconf).rc
|
||||
assert exit_status_success == actual_rc
|
||||
# check readable and executable /etc/init.d/pihole-FTL
|
||||
check_init = test_cmd.format("x", "/etc/init.d/pihole-FTL", piholeuser)
|
||||
actual_rc = host.run(check_init).rc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue