From 655804c5ef04855fbb9ea0a6e4f217117791cb07 Mon Sep 17 00:00:00 2001 From: Jeromy Johnson Date: Mon, 14 Mar 2016 16:36:31 -0700 Subject: [PATCH] fix whitespace trimming License: MIT Signed-off-by: Jeromy Johnson --- test/sharness/t0110-gateway.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sharness/t0110-gateway.sh b/test/sharness/t0110-gateway.sh index 46b25b7fa..59887c734 100755 --- a/test/sharness/t0110-gateway.sh +++ b/test/sharness/t0110-gateway.sh @@ -96,8 +96,8 @@ test_expect_success "GET /api/v0/version succeeds" ' ' test_expect_success "output only has one transfer encoding header" ' - grep "Transfer-Encoding: chunked" version_out | wc -l > tecount_out && - echo " 1" > tecount_exp && + grep "Transfer-Encoding: chunked" version_out | wc -l | xargs echo > tecount_out && + echo "1" > tecount_exp && test_cmp tecount_out tecount_exp '