summaryrefslogtreecommitdiff
path: root/connect.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-09-06 20:50:17 -0500
committerJunio C Hamano <gitster@pobox.com>2010-09-30 10:39:06 -0700
commitdbda967684dfefd0ac3518f9805ccf9ded9af429 (patch)
treebfe19181c3eff2748b21fa68c75135fa7120bc31 /connect.c
parente14712c9e6801855a033ee1e7013f54580f270a1 (diff)
downloadgit-dbda967684dfefd0ac3518f9805ccf9ded9af429.tar.gz
t0004 (unwritable files): simplify error handling
Instead of ... normal test script ... status=$? ... cleanup ... (exit $status) set up cleanup commands with test_when_finished. This makes the test script a little shorter, and more importantly, it ensures errors during cleanup are reported. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connect.c')
0 files changed, 0 insertions, 0 deletions