t1306: convert `test_might_fail rm` to `rm -f`
commit3595d10c26db483239d97ca8fc435c1c9dabcfb1
authorDenton Liu <liu.denton@gmail.com>
Fri, 20 Dec 2019 18:15:55 +0000 (20 10:15 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Dec 2019 19:30:44 +0000 (20 11:30 -0800)
treed636f1717684a6433a7e3dadc3c0df10b739f89b
parentf511bc02edc8e2729e7babb1b4caa98684d941bc
t1306: convert `test_might_fail rm` to `rm -f`

The test_must_fail() family of functions (including test_might_fail())
should only be used on git commands. Replace `test_might_fail rm` with
`rm -f` so that we don't use `test_might_fail` on a non-git command.

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