test-acl: grep for $HGTMP, not /tmp/
authorMartin Geisler <mg@lazybytes.net>
Sat, 01 May 2010 16:35:27 +0200
changeset 11055 a869a6a42c9e
parent 11054 355a7535bcac
child 11056 b7b232b6164d
test-acl: grep for $HGTMP, not /tmp/
tests/test-acl
--- a/tests/test-acl	Sat May 01 16:15:27 2010 +0200
+++ b/tests/test-acl	Sat May 01 16:35:27 2010 +0200
@@ -7,7 +7,7 @@
 
     echo "Pushing as user $user"
     echo 'hgrc = """'
-    sed -e 1,2d b/.hg/hgrc | grep -v /tmp/
+    sed -e 1,2d b/.hg/hgrc | grep -v "$HGTMP"
     echo '"""'
     if test -f acl.config; then
 	echo 'acl.config = """'