tests: fix portability of sed expression in test-mq stable
authorMatt Mackall <mpm@selenic.com>
Sat, 31 Mar 2012 13:46:46 -0500
branchstable
changeset 16327 7c76587fb372
parent 16325 740f20e252bd
child 16329 b3fefbb95aad
child 16331 900767dfa80d
tests: fix portability of sed expression in test-mq
tests/test-mq.t
--- a/tests/test-mq.t	Thu Mar 29 22:16:56 2012 +0900
+++ b/tests/test-mq.t	Sat Mar 31 13:46:46 2012 -0500
@@ -519,7 +519,7 @@
   $ hg qpush --move test.patch # already applied
   abort: cannot push to a previous patch: test.patch
   [255]
-  $ sed -i.bak '2i# make qtip index different in series and fullseries' `hg root`/.hg/patches/series
+  $ sed -i.bak '2i\# make qtip index different in series and fullseries' `hg root`/.hg/patches/series
   $ cat `hg root`/.hg/patches/series
   # comment
   # make qtip index different in series and fullseries