diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-09-17 00:25:27 +0100 |
---|---|---|
committer | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-09-17 01:36:33 +0100 |
commit | 37f629385d9acb49061700932c237c038433a2e3 (patch) | |
tree | fdc3bd0ce0d87affb11a151f4855e690a2790c62 /tests/hg-incremental.script | |
parent | dfd9a7d9ad8be7b467f2203ccaa7b3e8ccb91f4a (diff) | |
download | lorry-37f629385d9acb49061700932c237c038433a2e3.tar.gz |
tests: Do not hide lorry errors
Redirecting lorry's stderr to /dev/null just makes test failures
harder to debug. Only do that when we expect it to fail.
Diffstat (limited to 'tests/hg-incremental.script')
-rwxr-xr-x | tests/hg-incremental.script | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hg-incremental.script b/tests/hg-incremental.script index 489efa7..b8ad73c 100755 --- a/tests/hg-incremental.script +++ b/tests/hg-incremental.script @@ -26,7 +26,7 @@ logfile="$DATADIR/hg-test-repo.log" workdir="$DATADIR/work-dir" "${SRCDIR}/test-lorry" --verbose --pull-only --log="$logfile" --working-area="$workdir" \ - "$DATADIR/hg-test-repo.lorry" > /dev/null 2> /dev/null + "$DATADIR/hg-test-repo.lorry" > /dev/null # make a second commit ( @@ -36,7 +36,7 @@ workdir="$DATADIR/work-dir" ) "${SRCDIR}/test-lorry" --verbose --pull-only --log="$logfile" --working-area="$workdir" \ - "$DATADIR/hg-test-repo.lorry" > /dev/null 2> /dev/null + "$DATADIR/hg-test-repo.lorry" > /dev/null # verify that the git repository was created correctly ( |