]> git.ipfire.org Git - thirdparty/git.git/commit - t/t4253-am-keep-cr-dos.sh
t4253-am-keep-cr-dos: avoid using pipes
authorBoxuan Li <liboxuan@connect.hku.hk>
Sun, 5 May 2019 08:16:33 +0000 (16:16 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 May 2019 09:04:48 +0000 (18:04 +0900)
commitce4c7bfc90d93bdbf979d756c03c52d2d6b286d4
tree4ad20a2a64e0b97195dd30f2f14421cca55e627d
parentaeb582a98374c094361cba1bd756dc6307432c42
t4253-am-keep-cr-dos: 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: Boxuan Li <liboxuan@connect.hku.hk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4253-am-keep-cr-dos.sh