git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv1] git-p4: test harness directory handling tidyup
@ 2011-05-12  5:14 Luke Diamand
  2011-05-12  5:14 ` Luke Diamand
  0 siblings, 1 reply; 3+ messages in thread
From: Luke Diamand @ 2011-05-12  5:14 UTC (permalink / raw)
  To: git; +Cc: Pete Wyckoff, Luke Diamand

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(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-12 11:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12  5:14 [PATCHv1] git-p4: test harness directory handling tidyup Luke Diamand
2011-05-12  5:14 ` Luke Diamand
2011-05-12 11:29   ` Pete Wyckoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).