[PATCHv1] git-p4: test harness directory handling tidyup
- From
Luke Diamand <luke@diamand.org>
- Date
- May 12, 2011, 05:14 UTC
- Message-ID
- <1305177299-27130-1-git-send-email-luke@diamand.org>
Junio pointed out that the git-p4 test harness (t9800-git-p4.sh) has tests that 'cd' into a directory, do stuff, and then cd back out. If the tests fail partway through then the process is left in the wrong directory for the next test.
This patch changes it to use the "(cd dir && do_test)" pattern instead.
Luke Diamand (1): git-p4: test harness directory changing tidyup
t/t9800-git-p4.sh | 37 ++++++++++++++++++++++--------------- 1 files changed, 22 insertions(+), 15 deletions(-)