t5520: replace `! git` with `test_must_fail git`
authorDenton Liu <liu.denton@gmail.com>
Tue, 12 Nov 2019 23:08:16 +0000 (15:08 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Nov 2019 00:41:51 +0000 (09:41 +0900)
commit2a02262078e63dd2b90b2ab40ff024eccb444a48
tree6a805d8af6bf6e5a96f42a1739756e6a03125741
parentc245e58bb6a76e807f46b312e9a4edb2ff76f2b6
t5520: replace `! git` with `test_must_fail git`

Currently, if a git command fails in an unexpected way, such as a
segfault, it will be masked and ignored. Replace the ! with
test_must_fail so that only expected failures pass.

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