summaryrefslogtreecommitdiff
path: root/ci/print-test-failures.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-09-11 01:18:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-09-11 01:18:29 (GMT)
commitf67242c10ddf24a14b5085b1effcbe818aa007e6 (patch)
tree29c073016f78a36aca602461026da68cb12f4ea5 /ci/print-test-failures.sh
parent09f5e9746ce8be640683f9f5f1ffb54a34d4dc90 (diff)
downloadgit-f67242c10ddf24a14b5085b1effcbe818aa007e6.zip
git-f67242c10ddf24a14b5085b1effcbe818aa007e6.tar.gz
git-f67242c10ddf24a14b5085b1effcbe818aa007e6.tar.bz2
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-xci/print-test-failures.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/ci/print-test-failures.sh b/ci/print-test-failures.sh
index 8583e61..8c8973c 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