]> git.ipfire.org Git - thirdparty/git.git/commit
t9400: don't use test_must_fail with cvs
authorDenton Liu <liu.denton@gmail.com>
Tue, 7 Jul 2020 22:08:07 +0000 (18:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Jul 2020 22:46:35 +0000 (15:46 -0700)
commit41feac6f74719922bcc0bd44683518a6d6a8a943
tree36de2f0d657fdb8ccaac695a7c3c83fb2784586b
parent6e7b0ea864c61288bd5276f3e3cd9250e7a3802d
t9400: don't use test_must_fail with cvs

We are using `test_must_fail cvs` to test that the cvs command fails as
expected. However, test_must_fail() is used to ensure that commands fail
in an expected way, not due to something like a segv. Since we are not
in the business of verifying the sanity of the external world, replace
`test_must_fail cvs` with `! cvs` and assume that the cvs command does
not die unexpectedly.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9400-git-cvsserver-server.sh