Cosmetics: Corrected inconsistent indentation.
This commit is contained in:
@@ -12,8 +12,10 @@ done,*)
|
|||||||
*' --tee '*|*' --va'*)
|
*' --tee '*|*' --va'*)
|
||||||
mkdir -p test-results
|
mkdir -p test-results
|
||||||
BASE=test-results/$(basename "$0" .sh)
|
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
|
test "$(cat $BASE.exit)" = 0
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
@@ -395,7 +397,7 @@ test_done () {
|
|||||||
0)
|
0)
|
||||||
say_color pass "passed all $msg"
|
say_color pass "passed all $msg"
|
||||||
|
|
||||||
# Clean up this test.
|
# Clean up this test.
|
||||||
test -d "$remove_trash" &&
|
test -d "$remove_trash" &&
|
||||||
cd "$(dirname "$remove_trash")" &&
|
cd "$(dirname "$remove_trash")" &&
|
||||||
rm -rf "$(basename "$remove_trash")"
|
rm -rf "$(basename "$remove_trash")"
|
||||||
@@ -434,8 +436,8 @@ test_init_todo () {
|
|||||||
root="$1"
|
root="$1"
|
||||||
mkdir -p "$root"
|
mkdir -p "$root"
|
||||||
cd "$root" || error "Cannot setup todo dir in $root"
|
cd "$root" || error "Cannot setup todo dir in $root"
|
||||||
# Initialize the configuration file. Carefully quoted.
|
# Initialize the configuration file. Carefully quoted.
|
||||||
sed -e 's|TODO_DIR=.*$|TODO_DIR="'"$TEST_DIRECTORY/$test"'"|' $TEST_DIRECTORY/../todo.cfg > todo.cfg
|
sed -e 's|TODO_DIR=.*$|TODO_DIR="'"$TEST_DIRECTORY/$test"'"|' $TEST_DIRECTORY/../todo.cfg > todo.cfg
|
||||||
|
|
||||||
# Install latest todo.sh
|
# Install latest todo.sh
|
||||||
mkdir bin
|
mkdir bin
|
||||||
|
|||||||
Reference in New Issue
Block a user