1
0
mirror of https://github.com/pi-hole/pi-hole.git synced 2025-09-15 13:21:15 +08:00

Merge branch 'development' into use_utils

This commit is contained in:
yubiuser
2022-09-17 16:14:31 +02:00
committed by GitHub
18 changed files with 43 additions and 68 deletions

View File

@ -881,13 +881,17 @@ def test_FTL_binary_installed_and_responsive_no_errors(host):
source /opt/pihole/basic-install.sh
create_pihole_user
funcOutput=$(get_binary_name)
echo "development" > /etc/pihole/ftlbranch
binary="pihole-FTL${funcOutput##*pihole-FTL}"
theRest="${funcOutput%pihole-FTL*}"
FTLdetect "${binary}" "${theRest}"
pihole-FTL version
''')
version_check = host.run('''
VERSION=$(pihole-FTL version)
echo ${VERSION:0:1}
''')
expected_stdout = 'v'
assert expected_stdout in installed_binary.stdout
assert expected_stdout in version_check.stdout
def test_IPv6_only_link_local(host):