changeset 11055:a869a6a42c9e

test-acl: grep for $HGTMP, not /tmp/
author Martin Geisler <mg@lazybytes.net>
date Sat, 01 May 2010 16:35:27 +0200
parents 355a7535bcac
children b7b232b6164d
files tests/test-acl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 = """'