diff tests/test-convert-p4-filetypes @ 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 ce4b92f5cea7
children 3a1f29b63b9f
line wrap: on
line diff
--- a/tests/test-convert-p4-filetypes	Sat Jul 04 12:40:34 2009 +0200
+++ b/tests/test-convert-p4-filetypes	Sun Jul 05 18:52:55 2009 -0400
@@ -6,13 +6,13 @@
 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
-export P4CHARSET=utf8
+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
+P4CHARSET=utf8; export P4CHARSET
 
 echo % start the p4 server
 [ ! -d $P4ROOT ] && mkdir $P4ROOT
@@ -26,7 +26,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