changeset 8350:1f0f01bc86a5

tests: avoid export FOO=bar bashism
author Martin Geisler <mg@lazybytes.net>
date Mon, 11 May 2009 23:42:03 +0200
parents e539fa9d3f45
children f28c2f8b9969
files tests/test-convert-cvs tests/test-convert-cvs-branch tests/test-convert-cvs-builtincvsps tests/test-convert-cvs-builtincvsps-cvsnt-mergepoints tests/test-convert-cvs-detectmerge tests/test-convert-cvs-synthetic
diffstat 6 files changed, 22 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-convert-cvs	Mon May 11 00:16:49 2009 +0200
+++ b/tests/test-convert-cvs	Mon May 11 23:42:03 2009 +0200
@@ -22,8 +22,10 @@
 echo % create cvs repository
 mkdir cvsrepo
 cd cvsrepo
-export CVSROOT=`pwd`
-export CVS_OPTIONS=-f
+CVSROOT=`pwd`
+export CVSROOT
+CVS_OPTIONS=-f
+export CVS_OPTIONS
 cd ..
 
 cvscall -q -d "$CVSROOT" init
--- a/tests/test-convert-cvs-branch	Mon May 11 00:16:49 2009 +0200
+++ b/tests/test-convert-cvs-branch	Mon May 11 23:42:03 2009 +0200
@@ -19,8 +19,10 @@
 echo % create cvs repository
 mkdir cvsrepo
 cd cvsrepo
-export CVSROOT=`pwd`
-export CVS_OPTIONS=-f
+CVSROOT=`pwd`
+export CVSROOT
+CVS_OPTIONS=-f
+export CVS_OPTIONS
 cd ..
 
 cvscall -q -d "$CVSROOT" init
--- a/tests/test-convert-cvs-builtincvsps	Mon May 11 00:16:49 2009 +0200
+++ b/tests/test-convert-cvs-builtincvsps	Mon May 11 23:42:03 2009 +0200
@@ -21,8 +21,10 @@
 echo % create cvs repository
 mkdir cvsrepo
 cd cvsrepo
-export CVSROOT=`pwd`
-export CVS_OPTIONS=-f
+CVSROOT=`pwd`
+export CVSROOT
+CVS_OPTIONS=-f
+export CVS_OPTIONS
 cd ..
 
 cvscall -q -d "$CVSROOT" init
--- a/tests/test-convert-cvs-builtincvsps-cvsnt-mergepoints	Mon May 11 00:16:49 2009 +0200
+++ b/tests/test-convert-cvs-builtincvsps-cvsnt-mergepoints	Mon May 11 23:42:03 2009 +0200
@@ -21,8 +21,10 @@
 echo % create cvs repository
 mkdir cvsmaster
 cd cvsmaster
-export CVSROOT=`pwd`
-export CVS_OPTIONS=-f
+CVSROOT=`pwd`
+export CVSROOT
+CVS_OPTIONS=-f
+export CVS_OPTIONS
 cd ..
 
 cvscall -q -d "$CVSROOT" init
--- a/tests/test-convert-cvs-detectmerge	Mon May 11 00:16:49 2009 +0200
+++ b/tests/test-convert-cvs-detectmerge	Mon May 11 23:42:03 2009 +0200
@@ -6,7 +6,8 @@
 
 "$TESTDIR/hghave" cvs || exit 80
 
-export CVSROOT=`pwd`/cvsrepo
+CVSROOT=`pwd`/cvsrepo
+export CVSROOT
 
 # XXX copied from test-convert-cvs-synthetic
 cvscall()
--- a/tests/test-convert-cvs-synthetic	Mon May 11 00:16:49 2009 +0200
+++ b/tests/test-convert-cvs-synthetic	Mon May 11 23:42:03 2009 +0200
@@ -14,8 +14,10 @@
 echo % create cvs repository with one project
 mkdir cvsrepo
 cd cvsrepo
-export CVSROOT=`pwd`
-export CVS_OPTIONS=-f
+CVSROOT=`pwd`
+export CVSROOT
+CVS_OPTIONS=-f
+export CVS_OPTIONS
 cd ..
 
 filterpath()