diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2012-02-12 01:05:12 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-13 02:29:15 -0800 |
commit | 1f5ad6b1a7538d6d489ba97c46455efc0bc3266e (patch) | |
tree | 3b376756d870082aab40984fb6e80bc674eb4888 /t/t9808-git-p4-chdir.sh | |
parent | d24fbca7a5dcce2eb5e41266dd1be111b47a730c (diff) | |
download | git-1f5ad6b1a7538d6d489ba97c46455efc0bc3266e.tar.gz |
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/t9808-git-p4-chdir.sh')
-rwxr-xr-x | t/t9808-git-p4-chdir.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t9808-git-p4-chdir.sh b/t/t9808-git-p4-chdir.sh index eb8cc9523e..f0022839c7 100755 --- a/t/t9808-git-p4-chdir.sh +++ b/t/t9808-git-p4-chdir.sh @@ -25,7 +25,7 @@ test_expect_success 'P4CONFIG and absolute dir clone' ' test_when_finished cleanup_git && ( P4CONFIG=p4config && export P4CONFIG && - unset P4PORT P4CLIENT && + sane_unset P4PORT P4CLIENT && "$GITP4" clone --verbose --dest="$git" //depot ) ' @@ -37,7 +37,7 @@ test_expect_success 'P4CONFIG and relative dir clone' ' test_when_finished cleanup_git && ( P4CONFIG=p4config && export P4CONFIG && - unset P4PORT P4CLIENT && + sane_unset P4PORT P4CLIENT && "$GITP4" clone --verbose --dest="git" //depot ) ' |