t4012: Use test_must_fail instead of if-else
commitc7c0a2503fef1c8746dd4ce074de51fd6b215aa5
authorAlexander Strasser <eclipse7@gmx.net>
Mon, 16 Jul 2012 20:47:22 +0000 (16 22:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jul 2012 20:51:25 +0000 (16 13:51 -0700)
tree818b646287ea62977582b0f5af758f1c1368e4c6
parent66fd93ee060a1e7f831316f6c81e57f43c5578ba
t4012: Use test_must_fail instead of if-else

Make the code less bulky and easier to read. Also do not overlook
failures like e.g. git failing because of unexpected signals.

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4012-diff-binary.sh