t: use test_must_fail instead of hand-rolled blocks
commit0a5e3c50de60c73782f1add9eb8d1e8dc8eabcb8
authorJeff King <peff@peff.net>
Fri, 20 Mar 2015 10:09:22 +0000 (20 06:09 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Mar 2015 17:20:15 +0000 (20 10:20 -0700)
tree9f94c217fd91f07949de921a9b05d498e3d4291d
parenta167ece0c8cd9470427f8e9a1b43b27303eefa75
t: use test_must_fail instead of hand-rolled blocks

These test scripts likely predate test_must_fail, and can be
made simpler by using it (in addition to making them pass
--chain-lint).

The case in t6036 loses some verbosity in the failure case,
but it is so tied to a specific failure mode that it is not
worth keeping around (and the outcome of the test is not
affected at all).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4124-apply-ws-rule.sh
t/t6036-recursive-corner-cases.sh
t/t9300-fast-import.sh