diff options
author | Jeff King <peff@peff.net> | 2018-02-10 06:31:29 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-12 11:07:45 -0800 |
commit | dedfdb9c60035eb1b8fd5da1afd6002e841daf19 (patch) | |
tree | 5489facf0542e0c7237fb3645ffa3696ee453c3c /fetch-pack.h | |
parent | First batch after 2.16 (diff) | |
download | tgif-dedfdb9c60035eb1b8fd5da1afd6002e841daf19.tar.xz |
t0002: simplify error checking
This ancient test script does a lot of manual checking of
test conditions with "if" blocks. We can simplify this
by relying on helpers like test_must_fail.
Note that a failing "grep" call here won't produce any
verbose output, but that's OK. These days we rely on "-x" to
tell us about such commands. And in addition, these greps
are soon to be converted to test_i18ngrep (which is itself
soon learning to be more verbose).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.h')
0 files changed, 0 insertions, 0 deletions