Simplify test-paths
authorBryan O'Sullivan <bos@serpentine.com>
Fri, 25 Jan 2008 16:18:00 -0800
changeset 5951 92eb0a019bf2
parent 5948 597d8402087d
child 5952 2e8eeb5bf29b
Simplify test-paths
tests/test-paths
tests/test-paths.out
--- a/tests/test-paths	Fri Jan 25 16:04:46 2008 -0800
+++ b/tests/test-paths	Fri Jan 25 16:18:00 2008 -0800
@@ -1,11 +1,10 @@
 #!/bin/sh
-base=`pwd`
 hg init a
 hg clone a b
 cd a
 echo '[paths]' >> .hg/hgrc
 echo 'dupe = ../b' >> .hg/hgrc
-hg in dupe | sed "s!$base!<base>!g"
+hg in dupe | fgrep '../'
 cd ..
-hg -R a in dupe | sed "s!$base!<base>!g"
+hg -R a in dupe | fgrep '../'
 true
--- a/tests/test-paths.out	Fri Jan 25 16:04:46 2008 -0800
+++ b/tests/test-paths.out	Fri Jan 25 16:18:00 2008 -0800
@@ -1,5 +1,1 @@
 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-comparing with <base>/b
-no changes found
-comparing with <base>/b
-no changes found