mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Adjust test suite to account for the extra return "status ..." in ">stats"
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
+2
-1
@@ -27,7 +27,8 @@ load 'libs/bats-support/load'
|
||||
[[ ${lines[7]} =~ "queries_cached 2" ]]
|
||||
[[ ${lines[8]} == "clients_ever_seen 3" ]]
|
||||
[[ ${lines[9]} == "unique_clients 3" ]]
|
||||
[[ ${lines[10]} == "---EOM---" ]]
|
||||
[[ ${lines[10]} == "status unknown" ]]
|
||||
[[ ${lines[11]} == "---EOM---" ]]
|
||||
}
|
||||
|
||||
@test "Top Clients" {
|
||||
|
||||
Reference in New Issue
Block a user