]> git.ipfire.org Git - thirdparty/git.git/commit
t0001-t0028: avoid pipes with Git on LHS
authorShubham Mishra <shivam828787@gmail.com>
Sat, 12 Mar 2022 06:21:25 +0000 (11:51 +0530)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Mar 2022 00:22:01 +0000 (16:22 -0800)
commit9b6d1fc48a29abdd49c267ce1bf06bac5151a0e4
tree3d9b60799bcb86c478241e7330414c0db2012800
parentae5d569bb22ea4e889c9a2da757ed0c253ec1fc1
t0001-t0028: avoid pipes with Git on LHS

Pipes ignore error codes of LHS command and thus we should not use
them with Git in tests. As an alternative, use a 'tmp' file to write
the Git output so we can test the exit code.

Signed-off-by: Shubham Mishra <shivam828787@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0000-basic.sh
t/t0022-crlf-rename.sh
t/t0025-crlf-renormalize.sh
t/t0027-auto-crlf.sh