diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2012-02-12 02:05:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-13 11:29:15 +0100 |
commit | 1f5ad6b1a7538d6d489ba97c46455efc0bc3266e (patch) | |
tree | 3b376756d870082aab40984fb6e80bc674eb4888 /t/t9130-git-svn-authors-file.sh | |
parent | Remove Git's support for smoke testing (diff) | |
download | git-1f5ad6b1a7538d6d489ba97c46455efc0bc3266e.tar.xz git-1f5ad6b1a7538d6d489ba97c46455efc0bc3266e.zip |
t: use sane_unset instead of unset
Change several tests to use the sane_unset function introduced in
v1.7.3.1-35-g00648ba instead of the built-in unset function.
This fixes a failure I was having on t9130-git-svn-authors-file.sh on
Solaris, and prevents several other issues from occurring.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t9130-git-svn-authors-file.sh b/t/t9130-git-svn-authors-file.sh index b324c491c5..c3443ceb25 100755 --- a/t/t9130-git-svn-authors-file.sh +++ b/t/t9130-git-svn-authors-file.sh @@ -96,8 +96,8 @@ test_expect_success 'fresh clone with svn.authors-file in config' ' rm -r "$GIT_DIR" && test x = x"$(git config svn.authorsfile)" && test_config="$HOME"/.gitconfig && - unset GIT_DIR && - unset GIT_CONFIG && + sane_unset GIT_DIR && + sane_unset GIT_CONFIG && git config --global \ svn.authorsfile "$HOME"/svn-authors && test x"$HOME"/svn-authors = x"$(git config svn.authorsfile)" && |