t4124 (apply --whitespace): use test_might_fail
commit33fc521193746a0961c270997dbb881b520ad793
authorJonathan Nieder <jrnieder@gmail.com>
Sun, 31 Oct 2010 07:41:08 +0000 (31 02:41 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Nov 2010 23:20:44 +0000 (9 15:20 -0800)
treedf3efbeecff9826bbe66aceab42cc30abb8dad40
parent56641f199cc30fa0649ee0e3fa102782ca251d04
t4124 (apply --whitespace): use test_might_fail

Use test_might_fail instead of ignoring the exit status from git
config --unset, and let the exit status propagate past rm -f (which
does not fail on ENOENT).  Otherwise bugs that lead git config to
crash would not be detected when this test runs.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4124-apply-ws-rule.sh