Code

git-p4: use test_when_finished in tests
authorPete Wyckoff <pw@padd.com>
Sun, 31 Jul 2011 13:44:50 +0000 (09:44 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Aug 2011 17:23:38 +0000 (10:23 -0700)
commitf40ae5cee61f35bdc46b17ccc11fbc6eb7977c89
tree018029637d57d9e0c58769db9867ea5efef210b3
parentb35acb53458d0f99ba2400b902980b35e5acc2d3
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 <pw@padd.com>
Acked-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9800-git-p4.sh