From: Pete Wyckoff Date: Sun, 31 Jul 2011 13:44:50 +0000 (-0400) Subject: git-p4: use test_when_finished in tests X-Git-Tag: v1.7.7-rc0~67 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f40ae5cee61f35bdc46b17ccc11fbc6eb7977c89?hp=f40ae5cee61f35bdc46b17ccc11fbc6eb7977c89 git-p4: use test_when_finished in tests Cleanup nicely when tests fail. This avoids many duplicated lines in the tests, and adds cleanup in a couple of tests that did not have it. When one fails, now all the rest will not fail too. Signed-off-by: Pete Wyckoff Acked-by: Luke Diamand Signed-off-by: Junio C Hamano ---