diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-09-11 10:18:29 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-11 10:18:29 +0900 |
commit | f67242c10ddf24a14b5085b1effcbe818aa007e6 (patch) | |
tree | 29c073016f78a36aca602461026da68cb12f4ea5 /ci/print-test-failures.sh | |
parent | travis-ci: skip a branch build if equal tag is present (diff) | |
download | tgif-f67242c10ddf24a14b5085b1effcbe818aa007e6.tar.xz |
travis: dedent a few scripts that are indented overly deeply
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci/print-test-failures.sh')
-rwxr-xr-x | ci/print-test-failures.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ci/print-test-failures.sh b/ci/print-test-failures.sh index 8583e61839..8c8973cbf3 100755 --- a/ci/print-test-failures.sh +++ b/ci/print-test-failures.sh @@ -6,13 +6,13 @@ . ${0%/*}/lib-travisci.sh for TEST_EXIT in t/test-results/*.exit - do - if [ "$(cat "$TEST_EXIT")" != "0" ] - then - TEST_OUT="${TEST_EXIT%exit}out" - echo "------------------------------------------------------------------------" - echo "$(tput setaf 1)${TEST_OUT}...$(tput sgr0)" - echo "------------------------------------------------------------------------" - cat "${TEST_OUT}" - fi +do + if [ "$(cat "$TEST_EXIT")" != "0" ] + then + TEST_OUT="${TEST_EXIT%exit}out" + echo "------------------------------------------------------------------------" + echo "$(tput setaf 1)${TEST_OUT}...$(tput sgr0)" + echo "------------------------------------------------------------------------" + cat "${TEST_OUT}" + fi done |