tests: factor HOME=$(pwd) in test-lib.sh
commitc9bb83f2411e2e6ac0f417ef839f27fcc4991ddd
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Mon, 30 Aug 2010 09:50:42 +0000 (30 11:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Aug 2010 18:36:36 +0000 (31 11:36 -0700)
tree97be7abcc32237cb4d09a8684d918b406dbe9d5e
parent8f6d1e2796a7f063428017b9a0467b1ee5002d9f
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