From 37f629385d9acb49061700932c237c038433a2e3 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Thu, 17 Sep 2020 00:25:27 +0100 Subject: 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. --- tests/hg-incremental.script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/hg-incremental.script') 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 ( -- cgit v1.2.1