diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2010-08-30 11:50:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-31 12:12:02 -0700 |
commit | e4c62e640db3f704b4c27435c6b8efdb170988dc (patch) | |
tree | 0b3ca378eb4d5a915c6bb20998ad180383ee4520 /t/t9130-git-svn-authors-file.sh | |
parent | 0d314ce834df9ad6bb5d6e9583c38aefd047fc9b (diff) | |
download | git-e4c62e640db3f704b4c27435c6b8efdb170988dc.tar.gz |
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>
Diffstat (limited to 't/t9130-git-svn-authors-file.sh')
-rwxr-xr-x | t/t9130-git-svn-authors-file.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/t/t9130-git-svn-authors-file.sh b/t/t9130-git-svn-authors-file.sh index 134411e0a5..d5ee39ae9e 100755 --- a/t/t9130-git-svn-authors-file.sh +++ b/t/t9130-git-svn-authors-file.sh @@ -95,8 +95,6 @@ test_expect_success 'fresh clone with svn.authors-file in config' ' ( rm -r "$GIT_DIR" && test x = x"$(git config svn.authorsfile)" && - HOME="`pwd`" && - export HOME && test_config="$HOME"/.gitconfig && unset GIT_CONFIG_NOGLOBAL && unset GIT_DIR && |