t7107: don't use test_must_fail()
authorDenton Liu <redacted>
Tue, 7 Jul 2020 06:04:36 +0000 (02:04 -0400)
committerJunio C Hamano <redacted>
Tue, 7 Jul 2020 20:07:27 +0000 (13:07 -0700)
commitc96050ff3442067e5848501f25f44a51606f0634
tree6a7afe9e60728da7ab62c72f7148ae72c0a9a692
parent6861ac806b98076121ea69ed41476b14818f07d6
t7107: don't use test_must_fail()

We had a `test_must_fail verify_expect`. However, the git command in
verify_expect() was not expected to fail; the test_cmp() was the failing
command. Be more precise about testing failure by accepting an optional
first argument of '!' which causes the result of the file comparison to
be negated.

Signed-off-by: Denton Liu <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t7107-reset-pathspec-file.sh
git clone https://git.99rst.org/PROJECT