summaryrefslogtreecommitdiff
path: root/tests/git-backup-on-error.script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/git-backup-on-error.script')
-rwxr-xr-xtests/git-backup-on-error.script3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/git-backup-on-error.script b/tests/git-backup-on-error.script
index cbaa247..134367c 100755
--- a/tests/git-backup-on-error.script
+++ b/tests/git-backup-on-error.script
@@ -40,7 +40,8 @@ normalize() {
# make upstream disappear to cause errors
rm -rf "$repo"
if ./lorry --pull-only --log="$logfile" --working-area="$workdir" \
- "$DATADIR/git-backup-test-repo.lorry" --bundle=never | normalize
+ "$DATADIR/git-backup-test-repo.lorry" --bundle=never 2>/dev/null | \
+ normalize
then
echo Previous lorry command should have failed >&2
exit 1