From 9a5668a51ce2e7f4a06fd1134267527322668443 Mon Sep 17 00:00:00 2001 From: Ingo Karkat Date: Thu, 20 Jan 2011 16:08:20 +0100 Subject: [PATCH] Cosmetics: Corrected inconsistent indentation. --- tests/test-lib.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/test-lib.sh b/tests/test-lib.sh index c4f3ff5..29f3246 100644 --- a/tests/test-lib.sh +++ b/tests/test-lib.sh @@ -12,8 +12,10 @@ done,*) *' --tee '*|*' --va'*) mkdir -p test-results BASE=test-results/$(basename "$0" .sh) - (TEST_TEE_STARTED=done ${SHELL-sh} "$0" "$@" 2>&1; - echo $? > $BASE.exit) | tee $BASE.out + ( + TEST_TEE_STARTED=done ${SHELL-sh} "$0" "$@" 2>&1; + echo $? > $BASE.exit + ) | tee $BASE.out test "$(cat $BASE.exit)" = 0 exit ;; @@ -395,7 +397,7 @@ test_done () { 0) say_color pass "passed all $msg" - # Clean up this test. + # Clean up this test. test -d "$remove_trash" && cd "$(dirname "$remove_trash")" && rm -rf "$(basename "$remove_trash")" @@ -434,8 +436,8 @@ test_init_todo () { root="$1" mkdir -p "$root" cd "$root" || error "Cannot setup todo dir in $root" - # Initialize the configuration file. Carefully quoted. - sed -e 's|TODO_DIR=.*$|TODO_DIR="'"$TEST_DIRECTORY/$test"'"|' $TEST_DIRECTORY/../todo.cfg > todo.cfg + # Initialize the configuration file. Carefully quoted. + sed -e 's|TODO_DIR=.*$|TODO_DIR="'"$TEST_DIRECTORY/$test"'"|' $TEST_DIRECTORY/../todo.cfg > todo.cfg # Install latest todo.sh mkdir bin