tests: make test_must_fail more verbose
commit16034fbe59e88ec9592f73523cde97714d7c727c
authorJeff King <peff@peff.net>
Tue, 31 Aug 2010 15:56:36 +0000 (31 11:56 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Aug 2010 16:53:56 +0000 (31 09:53 -0700)
treec643ae49055e9986a734874f9f803d89625fac86
parentd8a94803842989582989fd5f5c3062c49134ad5b
tests: make test_must_fail more verbose

Because test_must_fail fails when a command succeeds, the
command frequently does not produce any output (since, after
all, it thought it was succeeding). So let's have
test_must_fail itself report that a problem occurred.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh