git p4 test: cleanup_git should make a new $git

For convenience, leave one in place at the end of each
test so that it is not necessary to build a new one.  This
makes it consistent with $cli.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Pete Wyckoff
2012-06-27 08:01:01 -04:00
committed by Junio C Hamano
parent f69b3a93ca
commit 23a2666c2e
3 changed files with 3 additions and 2 deletions

View File

@ -99,5 +99,6 @@ kill_p4d() {
}
cleanup_git() {
rm -rf "$git"
rm -rf "$git" &&
mkdir "$git"
}