]> git.99rst.org Git - git.git/commit
t0030-t0050: avoid pipes with Git on LHS
authorShubham Mishra <redacted>
Sat, 12 Mar 2022 06:21:26 +0000 (11:51 +0530)
committerJunio C Hamano <redacted>
Sun, 13 Mar 2022 00:22:04 +0000 (16:22 -0800)
commiteed36fce38c406b548d53c56483e1d2e25c5c971
treed03ba431dcb3f6c7fbde5457e374b3d773e749bd
parent9b6d1fc48a29abdd49c267ce1bf06bac5151a0e4
t0030-t0050: 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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t0030-stripspace.sh
t/t0050-filesystem.sh
git clone https://git.99rst.org/PROJECT