tests/test-subrepo
branchstable
changeset 10468 2250fc372d34
parent 10413 e433002acb05
child 10522 b07d487009b2
--- a/tests/test-subrepo	Sun Feb 14 17:53:23 2010 +0100
+++ b/tests/test-subrepo	Sun Feb 14 18:19:18 2010 +0100
@@ -180,7 +180,9 @@
 hg -R main ci -m "add subrepos"
 cd ..
 hg clone mercurial/main mercurial2/main
-cat mercurial2/main/nested_absolute/.hg/hgrc mercurial2/main/nested_relative/.hg/hgrc | sed "s:${PWD}:/tmp:"
+cat mercurial2/main/nested_absolute/.hg/hgrc \
+    mercurial2/main/nested_relative/.hg/hgrc \
+    | "$TESTDIR/filtertmp.py"
 rm -rf mercurial mercurial2
 
 exit 0