t9813: avoid using pipes
commitc6f44e1da5e88e34654ae37c62eea2d08835110b
authorPranit Bauva <pranit.bauva@gmail.com>
Tue, 3 Jan 2017 19:57:08 +0000 (4 01:27 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jan 2017 09:54:47 +0000 (9 01:54 -0800)
tree261372c7b65ee30009d34925571d7a09d108c330
parentc7cf956618c4af9f3151a90d7552b05767e6444f
t9813: avoid using pipes

The exit code of the upstream in a pipe is ignored thus we should avoid
using it. By writing out the output of the git command to a file, we can
test the exit codes of both the commands.

Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com>
Acked-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9813-git-p4-preserve-users.sh