changeset 16327:7c76587fb372 stable

tests: fix portability of sed expression in test-mq
author Matt Mackall <mpm@selenic.com>
date Sat, 31 Mar 2012 13:46:46 -0500
parents 740f20e252bd
children b3fefbb95aad 900767dfa80d
files tests/test-mq.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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