tests: make test_must_fail fail on missing commands
commita54ce3ca9e780f824f07519a6db83fe2d7575734
authorJeff King <peff@peff.net>
Tue, 31 Aug 2010 15:56:53 +0000 (31 11:56 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Aug 2010 16:54:37 +0000 (31 09:54 -0700)
treee3a174d66ae4194a11e3eca1dddfe24f56b0e4dc
parent16034fbe59e88ec9592f73523cde97714d7c727c
tests: make test_must_fail fail on missing commands

The point of it is to run a command that produces failure. A
missing command is more likely an error in the test script
(e.g., using 'test_must_fail "command with arguments"', or
relying on a missing command).

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