mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
@@ -8,6 +8,12 @@
|
||||
[[ "${lines[@]}" == "" ]]
|
||||
}
|
||||
|
||||
@test "Check FTL binary integrity" {
|
||||
run bash -c './pihole-FTL verify'
|
||||
printf "%s\n" "${lines[@]}"
|
||||
[[ "${lines[0]}" == *"SHA256 checksum matches" ]]
|
||||
}
|
||||
|
||||
@test "Running a second instance is detected and prevented" {
|
||||
run bash -c 'su pihole -s /bin/sh -c "./pihole-FTL -f"'
|
||||
printf "%s\n" "${lines[@]}"
|
||||
|
||||
Reference in New Issue
Block a user