Don't use the 'export NAME=value' in the test scripts.
This form is not portable across all shells, so replace instances of:
export FOO=bar
with:
FOO=bar
export FOO
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Bryan Donlan17 years agocommitted byJunio C Hamano
@ -9,7 +9,8 @@ This test runs git rebase and checks that the author information is not lost.
@@ -9,7 +9,8 @@ This test runs git rebase and checks that the author information is not lost.
@ -10,7 +10,8 @@ checks that git cherry only returns the second patch in the local branch
@@ -10,7 +10,8 @@ checks that git cherry only returns the second patch in the local branch
'
. ./test-lib.sh
export GIT_AUTHOR_EMAIL=bogus_email_address
GIT_AUTHOR_EMAIL=bogus_email_address
export GIT_AUTHOR_EMAIL
test_expect_success \
'prepare repository with topic branch, and check cherry finds the 2 patches from there' \