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/git-single-commit.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/git-single-commit.script')
-rwxr-xr-x | tests/git-single-commit.script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/git-single-commit.script b/tests/git-single-commit.script index 9c4813e..80d117c 100755 --- a/tests/git-single-commit.script +++ b/tests/git-single-commit.script @@ -25,7 +25,7 @@ logfile="$DATADIR/git-test-repo.log" workdir="$DATADIR/work-dir" "${SRCDIR}/test-lorry" --pull-only --log="$logfile" --working-area="$workdir" \ - "$DATADIR/git-test-repo.lorry" > /dev/null 2> /dev/null + "$DATADIR/git-test-repo.lorry" > /dev/null # verify that the git repository was set up correctly ( |