t6050: redirect expected error output to a file
authorChristian Couder <redacted>
Sun, 31 Mar 2019 13:46:57 +0000 (15:46 +0200)
committerJunio C Hamano <redacted>
Mon, 1 Apr 2019 08:49:00 +0000 (17:49 +0900)
commit587617016744448ace200804aed9edccb436f38e
tree203cc45f0acf29c0914eb6e145270cd7376f43fc
parent502d87b9e3ee6faadae45d545e0e257ef8948f0b
t6050: redirect expected error output to a file

Otherwise the error from `git rev-parse` is uselessly
polluting the debug output.

Redirecting to a file, instead of /dev/null, makes it
possible to check that we got the error we expected, so
let's check that too.

Reviewed-by: Taylor Blau <redacted>
Helped-by: Eric Sunshine <redacted>
Helped-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Christian Couder <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t6050-replace.sh
git clone https://git.99rst.org/PROJECT