tests: use regular expression instead of sed in test-subrepo-deep-nested-change
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Mon, 30 Aug 2010 13:37:12 +0900
changeset 12107 497c78760b37
parent 12106 969176bec217
child 12108 a57e0762c5ec
tests: use regular expression instead of sed in test-subrepo-deep-nested-change
tests/test-bisect.t
tests/test-churn.t
tests/test-inherit-mode.t
tests/test-remove-new.t
tests/test-remove.t
tests/test-rename.t
tests/test-revert.t
tests/test-revset.t
tests/test-strict.t
tests/test-subrepo-deep-nested-change.t
--- a/tests/test-subrepo-deep-nested-change.t	Mon Aug 30 13:32:37 2010 +0900
+++ b/tests/test-subrepo-deep-nested-change.t	Mon Aug 30 13:37:12 2010 +0900
@@ -11,7 +11,7 @@
   $ hg init sub1
   $ echo sub1 > sub1/sub1
   $ echo "sub2 = ../sub2" > sub1/.hgsub
-  $ hg clone sub2 sub1/sub2 | sed 's/ .*sub/ ...sub/g'
+  $ hg clone sub2 sub1/sub2
   updating to branch default
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg add -R sub1
@@ -25,9 +25,9 @@
   $ hg init main
   $ echo main > main/main
   $ echo "sub1 = ../sub1" > main/.hgsub
-  $ hg clone sub1 main/sub1  | sed 's/ .*sub/ ...sub/g'
+  $ hg clone sub1 main/sub1
   updating to branch default
-  pulling ...sub2
+  pulling subrepo sub2 from .*/sub2
   requesting all changes
   adding changesets
   adding manifests
@@ -53,15 +53,15 @@
 
 Clone main
 
-  $ hg clone main cloned | sed 's/ .*sub/ ...sub/g' 
+  $ hg clone main cloned
   updating to branch default
-  pulling ...sub1
+  pulling subrepo sub1 from .*/sub1
   requesting all changes
   adding changesets
   adding manifests
   adding file changes
   added 1 changesets with 3 changes to 3 files
-  pulling ...sub2
+  pulling subrepo sub1/sub2 from .*/sub2
   requesting all changes
   adding changesets
   adding manifests