diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-08-31 15:39:24 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-08-31 15:39:24 +0100 |
commit | 9c1609b241c48748dad26cf14dcad2374e392b55 (patch) | |
tree | b0e47a7213abcdc6e59234f5b3e689a37088e98f /tests/git-backup-on-error.script | |
parent | 4a951edc804d8034151cbc65bbcac850c794391a (diff) | |
download | lorry-9c1609b241c48748dad26cf14dcad2374e392b55.tar.gz |
Fix test case after message changesliw/names-with-slashes
Diffstat (limited to 'tests/git-backup-on-error.script')
-rwxr-xr-x | tests/git-backup-on-error.script | 3 |
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 |