diff tests/test-convert-p4 @ 9043:438f0b1d4684

tests: remove more instances of export FOO=bar bashism
author Brodie Rao <me+hg@dackz.net>
date Sun, 05 Jul 2009 18:52:55 -0400
parents 5b7da468531b
children d4d4da54ab05
line wrap: on
line diff
--- a/tests/test-convert-p4	Sat Jul 04 12:40:34 2009 +0200
+++ b/tests/test-convert-p4	Sun Jul 05 18:52:55 2009 -0400
@@ -6,12 +6,12 @@
 echo "convert = " >> $HGRCPATH
 
 echo % create p4 depot
-export P4ROOT=$PWD/depot
-export P4AUDIT=$P4ROOT/audit
-export P4JOURNAL=$P4ROOT/journal
-export P4LOG=$P4ROOT/log
-export P4PORT=localhost:16661
-export P4DEBUG=1
+P4ROOT=$PWD/depot; export P4ROOT
+P4AUDIT=$P4ROOT/audit; export P4AUDIT
+P4JOURNAL=$P4ROOT/journal; export P4JOURNAL
+P4LOG=$P4ROOT/log; export P4LOG
+P4PORT=localhost:16661; export P4PORT
+P4DEBUG=1; export P4DEBUG
 
 echo % start the p4 server
 [ ! -d $P4ROOT ] && mkdir $P4ROOT
@@ -24,7 +24,7 @@
 done >/dev/null 2>/dev/null
 
 echo % create a client spec
-export P4CLIENT=hg-p4-import
+P4CLIENT=hg-p4-import; export P4CLIENT
 DEPOTPATH=//depot/test-mercurial-import/...
 p4 client -o | sed '/^View:/,$ d' >p4client
 echo View: >>p4client