t0014: remove git command upstream of pipe
commit17aa9d9c1af316d60ce6573daf0ff7b28bf009ed
authorDenton Liu <liu.denton@gmail.com>
Wed, 27 Nov 2019 19:53:08 +0000 (27 11:53 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Nov 2019 21:20:14 +0000 (29 13:20 -0800)
tree33c8b71aac74c442681fd53c75c6c835104f91ef
parent77a946be98f4cf2947f9aefac924c0ee78a042c7
t0014: remove git command upstream of pipe

Before, the `git frotz` command would fail but its return code was
hidden since it was in the upstream of a pipe. Break the pipeline into
two commands so that the return code is no longer lost. Also, mark
`git frotz` with test_must_fail since it's supposed to fail.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0014-alias.sh