From a4fc9339663ed64c60a3129fe71d68ab6dabcf4e Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 12 Jun 2017 20:08:33 +0200 Subject: [PATCH] Use silent mode if curl based tests to suppress progress meter display --- test/test_suite.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_suite.sh b/test/test_suite.sh index 121ff880..7e70784b 100644 --- a/test/test_suite.sh +++ b/test/test_suite.sh @@ -164,7 +164,7 @@ load 'libs/bats-support/load' } @test "HTTP server: FTL responding correctly to HEAD request" { - run bash -c "curl --head 127.0.0.1:4747" + run bash -c "curl --head -s 127.0.0.1:4747" echo "output: ${lines[@]}" echo "curl exit code: ${status}" [[ ${lines[0]} == "HTTP/1.0 200 OK" ]] @@ -173,7 +173,7 @@ load 'libs/bats-support/load' } @test "HTTP server: FTL responding correctly to GET request" { - run bash -c "curl 127.0.0.1:4747" + run bash -c "curl -s 127.0.0.1:4747" echo "output: ${lines[@]}" echo "curl exit code: ${status}" [[ "${status}" -eq 0 ]]