diff --git a/test/test.sh b/test/test.sh index e7881be..e9f219f 100755 --- a/test/test.sh +++ b/test/test.sh @@ -27,7 +27,7 @@ test() { while [ ! "$(docker inspect --format '{{json .State.Health.Status }}' metacall_builder_registry)" = "\"healthy\"" ]; do sleep 5 done - DOCKER_OUTPUT=`docker run --rm -v ./test/suites:/test -t localhost:5000/metacall/builder_output sh -c "metacallcli test/$1"` + DOCKER_OUTPUT=`docker run --rm -v ./test/suites:/test -t localhost:5000/metacall/builder_output sh -c "metacallcli test/$1" | tr -d '\n'` if [ ! "${DOCKER_OUTPUT}" = "$2" ]; then echo "Failed to run test: $1"