# HG changeset patch # User Kevin Bullock # Date 2013-04-23 22:26:00 # Node ID 70675d77fd4a78d3e57723550d9f3031345d38e4 # Parent 12f15e4b2ca0bf22ce5683f59f3919212ac11c73 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. diff --git a/tests/test-unionrepo.t b/tests/test-unionrepo.t --- a/tests/test-unionrepo.t +++ b/tests/test-unionrepo.t @@ -26,7 +26,8 @@ Create one repository $ 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