tests: test-mq-subrepo.t Solaris 10 sh compliance stable
authorMads Kiilerich <mads@kiilerich.com>
Tue, 01 Mar 2011 02:54:16 +0100
branchstable
changeset 13510 d0be955f358c
parent 13509 8aea95ec128f
child 13511 392b5684d0b4
tests: test-mq-subrepo.t Solaris 10 sh compliance Solaris 10 sh do apparently not like temporary environment variable assignment before a function call. There is no problem with commands.
tests/test-mq-subrepo.t
--- a/tests/test-mq-subrepo.t	Mon Feb 28 16:45:15 2011 -0600
+++ b/tests/test-mq-subrepo.t	Tue Mar 01 02:54:16 2011 +0100
@@ -191,7 +191,8 @@
 
   $ hg qpop -qa
   patch queue now empty
-  $ EXTRA='hg qnew -m2 2.diff' testrm1 qrefresh
+  $ EXTRA='hg qnew -m2 2.diff'
+  $ testrm1 qrefresh
   adding a
   % update substate when removing .hgsub w/dirty subrepo
   M sub3/a
@@ -201,12 +202,14 @@
 
   $ hg qpop -qa
   patch queue now empty
-  $ EXTRA='hg qnew -m3 3.diff' testrm2 qrefresh
+  $ EXTRA='hg qnew -m3 3.diff'
+  $ testrm2 qrefresh
   adding a
   % update substate when removing .hgsub w/clean updated subrepo
   R .hgsub
   % qrefresh
   % debugsub should be empty
+  $ EXTRA=
 
   $ cd ..
 
@@ -315,7 +318,7 @@
 
   $ hg qpop -qa
   patch queue now empty
-  $ EXTRA= testrm1 qrecord --config ui.interactive=1 -m2 2.diff <<EOF
+  $ testrm1 qrecord --config ui.interactive=1 -m2 2.diff <<EOF
   > y
   > y
   > EOF
@@ -331,7 +334,7 @@
 
   $ hg qpop -qa
   patch queue now empty
-  $ EXTRA= testrm2 qrecord --config ui.interactive=1 -m3 3.diff <<EOF
+  $ testrm2 qrecord --config ui.interactive=1 -m3 3.diff <<EOF
   > y
   > y
   > EOF