t1409: use test_path_is_missing()
commit62d58cda69621eb2f70517c87f1baeeb7b2f398c
authorDenton Liu <liu.denton@gmail.com>
Fri, 20 Dec 2019 18:15:58 +0000 (20 10:15 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Dec 2019 19:30:45 +0000 (20 11:30 -0800)
tree7ed27a30068d1c5ccf2e3640debb1b1bfe6959b6
parentb87b02cfe6973ac8cc778e0463bc3ad6accb96a6
t1409: use test_path_is_missing()

The test_must_fail() function should only be used for git commands since
we should assume that external commands work sanely. Replace
`test_must_fail test -f` with `test_path_is_missing` since we expect
these paths to not exist.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1409-avoid-packing-refs.sh