Run prestart

Signed-off-by: Christian König <ckoenig@posteo.de>
ftl-binary-names
Christian König 1 year ago
parent a4322c624f
commit 0becc7615a
No known key found for this signature in database

@ -64,7 +64,7 @@ def test_installPihole_fresh_install_readableFiles(host):
mock_command("dialog", {"*": ("", "0")}, host)
# mock git pull
mock_command_passthrough("git", {"pull": ("", "0")}, host)
# mock systemctl to not start lighttpd and FTL
# mock systemctl to not start FTL
mock_command_2(
"systemctl",
{
@ -95,6 +95,7 @@ def test_installPihole_fresh_install_readableFiles(host):
runUnattended=true
useUpdateVars=true
main
/opt/pihole/pihole-FTL-prestart.sh
"""
)
assert 0 == install.rc
@ -507,9 +508,9 @@ def test_FTL_download_aarch64_no_errors(host):
assert "error" not in download_binary.stdout.lower()
def test_FTL_binary_installed_and_responsive_no_errors(host):
def test_FTL_development_binary_installed_and_responsive_no_errors(host):
"""
confirms FTL binary is copied and functional in installed location
confirms FTL development binary is copied and functional in installed location
"""
host.run(
"""

@ -129,7 +129,7 @@ def test_getFTLPIDFile_and_getFTLPID_custom(host):
def test_getFTLConfigValue_getFTLConfigValue(host):
"""
Confirms getFTLConfigValue works (also assumes setFTLConfigValue works)
Requires FTL to be installed, so we do that first (taken from test_FTL_binary_installed_and_responsive_no_errors)
Requires FTL to be installed, so we do that first (taken from test_FTL_development_binary_installed_and_responsive_no_errors)
"""
host.run(
"""

Loading…
Cancel
Save