Skip to contentSkip to conversation

t9020: do not use export X=Y

PATCH New Torsten Bögershausen 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 t9020: do not use export X=Y

The shell syntax "export X=Y" is not understood by all shells. Split the non portable line into separate lines like this:
X=Y
export X

---
 t/t9020-remote-svn.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
t/t9020-remote-svn.sh +2 -1
index 2d2f016..d9f6b73 100755
@@ -74,7 +74,8 @@ test_expect_success REMOTE_SVN 'mark-file regeneration' '
 '
 
 test_expect_success REMOTE_SVN 'incremental imports must lead to the same head' '
-	export SVNRMAX=3 &&
+	SVNRMAX=3 &&
+	export SVNRMAX &&
 	init_git &&
 	git fetch svnsim &&
 	test_cmp .git/refs/svn/svnsim/master .git/refs/remotes/svnsim/master  &&
Signature · 1 line
1.8.2.1.614.g66d7af5