From 94b08d80800375ce5ffafabea8a9620dbfbc5bc8 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 5 Oct 2017 17:53:35 +0200 Subject: [PATCH] Adjust test suite to account for the extra return "status ..." in ">stats" Signed-off-by: DL6ER --- test/test_suite.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_suite.sh b/test/test_suite.sh index 0230af6d..63c9d337 100644 --- a/test/test_suite.sh +++ b/test/test_suite.sh @@ -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" {