author | Jeff King <peff@peff.net> | |
Tue, 31 Aug 2010 15:56:36 +0000 (11:56 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 31 Aug 2010 16:53:56 +0000 (09:53 -0700) | ||
commit | 16034fbe59e88ec9592f73523cde97714d7c727c | |
tree | c643ae49055e9986a734874f9f803d89625fac86 | tree | snapshot |
parent | d8a94803842989582989fd5f5c3062c49134ad5b | commit | diff |
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>
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 | diff | blob | history |