Code

tests: factor HOME=$(pwd) in test-lib.sh
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Mon, 30 Aug 2010 09:50:42 +0000 (11:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Aug 2010 19:12:02 +0000 (12:12 -0700)
commite4c62e640db3f704b4c27435c6b8efdb170988dc
tree0b3ca378eb4d5a915c6bb20998ad180383ee4520
parent0d314ce834df9ad6bb5d6e9583c38aefd047fc9b
tests: factor HOME=$(pwd) in test-lib.sh

The same pattern is used in many tests, and makes it easy for new ones to
rely on $HOME being a trashable, clean, directory.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-cvs.sh
t/t0001-init.sh
t/t5601-clone.sh
t/t9130-git-svn-authors-file.sh
t/test-lib.sh