t9100: portability fix

Do not say "export VAR=VAL"; "VAR=VAL && export VAR" is always more
portable.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2016-07-28 14:20:13 -07:00
parent 0f3d855efc
commit 2a96d39824

View file

@ -24,7 +24,8 @@ ceiling=$PWD
test_expect_success 'git svn --version works anywhere' '
mkdir -p "$deepdir" && (
export GIT_CEILING_DIRECTORIES="$ceiling" &&
GIT_CEILING_DIRECTORIES="$ceiling" &&
export GIT_CEILING_DIRECTORIES &&
cd "$deepdir" &&
git svn --version
)
@ -32,7 +33,8 @@ test_expect_success 'git svn --version works anywhere' '
test_expect_success 'git svn help works anywhere' '
mkdir -p "$deepdir" && (
export GIT_CEILING_DIRECTORIES="$ceiling" &&
GIT_CEILING_DIRECTORIES="$ceiling" &&
export GIT_CEILING_DIRECTORIES &&
cd "$deepdir" &&
git svn help
)