author | Jonathan Nieder <jrnieder@gmail.com> | |
Tue, 31 Aug 2010 17:26:57 +0000 (12:26 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 31 Aug 2010 18:40:20 +0000 (11:40 -0700) | ||
commit | d0b8a61742714b93b614f9823491a7557879dfb9 | |
tree | 1546925934cd9be44f0dc8c286bb42237d14b34d | tree | snapshot |
parent | 5c8e141414058430155ea179bce38ceb8d750c5d | commit | diff |
tests: make test_might_fail fail on missing commands
Detect and report hard-to-notice spelling mistakes like
test_might_fail "git config --unset whatever"
(the extra quotes prevent the shell from running git as intended;
instead, the shell looks for a "git config --unset whatever" file).
Cc: Jeff King <peff@peff.net>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Detect and report hard-to-notice spelling mistakes like
test_might_fail "git config --unset whatever"
(the extra quotes prevent the shell from running git as intended;
instead, the shell looks for a "git config --unset whatever" file).
Cc: Jeff King <peff@peff.net>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh | diff | blob | history |