changeset 13510:d0be955f358c stable

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.
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 01 Mar 2011 02:54:16 +0100
parents 8aea95ec128f
children 392b5684d0b4
files tests/test-mq-subrepo.t
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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