changeset 19084:70675d77fd4a stable

tests: make sed usage in test-unionrepo.t cross-platform Usage of the 'i' command proves tricky. I tried to write a check-code rule, but failed.
author Kevin Bullock <kbullock@ringworld.org>
date Tue, 23 Apr 2013 17:26:00 -0500
parents 12f15e4b2ca0
children be207d9b7e4b
files tests/test-unionrepo.t
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-unionrepo.t	Tue Apr 23 16:57:51 2013 -0500
+++ b/tests/test-unionrepo.t	Tue Apr 23 17:26:00 2013 -0500
@@ -26,7 +26,8 @@
   $ cd repo2
   $ touch repo2-1
   $ sed '1i\
-  > repo2-1 at top' f > f.tmp
+  > repo2-1 at top
+  > ' f > f.tmp
   $ mv f.tmp f
   $ hg ci -Aqmrepo2-1
   $ touch repo2-2