Skip to content

Commit fe8b0e9

Browse files
authored
v5.12.1 (#4908)
2 parents f998eee + ef45578 commit fe8b0e9

File tree

5 files changed

+10
-31
lines changed

5 files changed

+10
-31
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
strategy:
4444
fail-fast: false
4545
matrix:
46-
distro: [debian_10, debian_11, ubuntu_18, ubuntu_20, ubuntu_22, centos_8, fedora_34]
46+
distro: [debian_10, debian_11, ubuntu_20, ubuntu_22, centos_8, fedora_34]
4747
env:
4848
DISTRO: ${{matrix.distro}}
4949
steps:

pihole

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,16 @@ restartDNS() {
104104
local svcOption svc str output status pid icon FTL_PID_FILE
105105
svcOption="${1:-restart}"
106106

107+
# get the current path to the pihole-FTL.pid
108+
FTL_PID_FILE="$(getFTLPIDFile)"
109+
107110
# Determine if we should reload or restart
108111
if [[ "${svcOption}" =~ "reload-lists" ]]; then
109112
# Reloading of the lists has been requested
110113
# Note 1: This will NOT re-read any *.conf files
111114
# Note 2: We cannot use killall here as it does
112115
# not know about real-time signals
113116

114-
# get the current path to the pihole-FTL.pid
115-
FTL_PID_FILE="$(getFTLPIDFile)"
116-
117117
pid="$(getFTLPID ${FTL_PID_FILE})"
118118
if [[ "$pid" -eq "-1" ]]; then
119119
svc="true"

test/_ubuntu_18.Dockerfile

Lines changed: 0 additions & 17 deletions
This file was deleted.

test/test_any_automated_install.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,13 +880,17 @@ def test_FTL_binary_installed_and_responsive_no_errors(host):
880880
source /opt/pihole/basic-install.sh
881881
create_pihole_user
882882
funcOutput=$(get_binary_name)
883+
echo "development" > /etc/pihole/ftlbranch
883884
binary="pihole-FTL${funcOutput##*pihole-FTL}"
884885
theRest="${funcOutput%pihole-FTL*}"
885886
FTLdetect "${binary}" "${theRest}"
886-
pihole-FTL version
887+
''')
888+
version_check = host.run('''
889+
VERSION=$(pihole-FTL version)
890+
echo ${VERSION:0:1}
887891
''')
888892
expected_stdout = 'v'
889-
assert expected_stdout in installed_binary.stdout
893+
assert expected_stdout in version_check.stdout
890894

891895

892896
def test_IPv6_only_link_local(host):

test/tox.ubuntu_18.ini

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)