diff tests/test-share @ 10468:2250fc372d34 stable

Fix test-share and test-subrepo under Windows
author Patrick Mezard <pmezard@gmail.com>
date Sun, 14 Feb 2010 18:19:18 +0100
parents 66d8ec33da32
children
line wrap: on
line diff
--- a/tests/test-share	Sun Feb 14 17:53:23 2010 +0100
+++ b/tests/test-share	Sun Feb 14 18:19:18 2010 +0100
@@ -19,7 +19,7 @@
   && echo "fail: .hg/store should not exist" \
   || echo "pass: .hg/store does not exist"
 # Some sed versions appends newline, some don't, and some just fails
-(cat .hg/sharedpath; echo) | head -n1 | sed "s:$HGTMP:*HGTMP*:"
+(cat .hg/sharedpath; echo) | head -n1 | "$TESTDIR/filtertmp.py"
 
 echo % commit in shared clone
 echo a >> a