Mercurial > hg-stable
changeset 803:3d47e7fc33a3
Use tabs instead of spaces where apropriate.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 29 Jul 2005 21:34:41 +0100 |
parents | 69db1e34378b |
children | 19388dcbac49 |
files | tests/run-tests |
diffstat | 1 files changed, 19 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests Fri Jul 29 15:59:10 2005 +0100 +++ b/tests/run-tests Fri Jul 29 21:34:41 2005 +0100 @@ -60,9 +60,9 @@ rm tests/install.err mv "$INST/bin/hg" "$INST/bin/hg.real" ( - echo '#!/bin/sh' - echo 'echo "+ hg $@"' - echo 'exec hg.real "$@"' + echo '#!/bin/sh' + echo 'echo "+ hg $@"' + echo 'exec hg.real "$@"' ) > "$INST/bin/hg" chmod 755 "$INST/bin/hg" else @@ -87,7 +87,7 @@ ERR="$TESTDIR/$1.err" if "$TESTDIR/$1" > "$OUT" 2>&1; then - : no error + : no error else echo "$1 failed with error code $?" fail=1 @@ -100,21 +100,21 @@ cat "$ERR" fail=1 elif [ -r "$OUTOK" ]; then - if diff -u "$OUTOK" "$OUT" > /dev/null; then - : no differences - else - if FIXME="`grep 'FIXME' \"$TESTDIR/$1\"`"; then - echo - echo "$1 failed, but this is ignored because of:" - echo "$FIXME" - else - cp "$OUT" "$ERR" - echo - echo "$1 output changed:" - diff -u "$OUTOK" "$ERR" || true - fail=1 - fi - fi + if diff -u "$OUTOK" "$OUT" > /dev/null; then + : no differences + else + if FIXME="`grep 'FIXME' \"$TESTDIR/$1\"`"; then + echo + echo "$1 failed, but this is ignored because of:" + echo "$FIXME" + else + cp "$OUT" "$ERR" + echo + echo "$1 output changed:" + diff -u "$OUTOK" "$ERR" || true + fail=1 + fi + fi fi cd "$TESTDIR"