Mercurial > hg-stable
changeset 5951:92eb0a019bf2
Simplify test-paths
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 25 Jan 2008 16:18:00 -0800 |
parents | 597d8402087d |
children | 2e8eeb5bf29b |
files | tests/test-paths tests/test-paths.out |
diffstat | 2 files changed, 2 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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