summaryrefslogtreecommitdiff
path: root/tests/hg-incremental.script
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2020-09-17 00:25:27 +0100
committerBen Hutchings <ben.hutchings@codethink.co.uk>2020-09-17 01:36:33 +0100
commit37f629385d9acb49061700932c237c038433a2e3 (patch)
treefdc3bd0ce0d87affb11a151f4855e690a2790c62 /tests/hg-incremental.script
parentdfd9a7d9ad8be7b467f2203ccaa7b3e8ccb91f4a (diff)
downloadlorry-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-xtests/hg-incremental.script4
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
(