t0020: use ! check_packed_refs_marked
authorDenton Liu <redacted>
Fri, 20 Dec 2019 18:15:54 +0000 (10:15 -0800)
committerJunio C Hamano <redacted>
Fri, 20 Dec 2019 19:30:44 +0000 (11:30 -0800)
commitf511bc02edc8e2729e7babb1b4caa98684d941bc
tree5f3be573b3fbfa421490a25fa9c107f5698877cf
parentf6041abdcd7bfefed1cbe14cbe221f0e848cbec4
t0020: use ! check_packed_refs_marked

The test_must_fail function should only be used for git commands since
we should assume that external commands work sanely. Since
check_packed_refs_marked() just wraps a grep invocation, replace
`test_must_fail check_packed_refs_marked` with
`! check_packed_refs_marked`.

Signed-off-by: Denton Liu <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t1409-avoid-packing-refs.sh
git clone https://git.99rst.org/PROJECT