diff tests/test-notify.t @ 12642:bb35840e965c

tests: remove the last traces of $HGTMP $HGTMP isn't needed - and if we need something like that then $TESTTMP is more appropriate.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 08 Oct 2010 22:36:11 -0500
parents 6cc4b14fb76b
children 0490d2223882
line wrap: on
line diff
--- a/tests/test-notify.t	Fri Oct 08 22:36:10 2010 -0500
+++ b/tests/test-notify.t	Fri Oct 08 22:36:11 2010 -0500
@@ -141,7 +141,7 @@
   (run 'hg update' to get a working copy)
   $ cat <<EOF >> $HGRCPATH
   > [notify]
-  > config = $HGTMP/.notify.conf
+  > config = `pwd`/.notify.conf
   > domain = test.com
   > strip = 3
   > template = Subject: {desc|firstline|strip}\nFrom: {author}\nX-Test: foo\n\nchangeset {node|short} in {webroot}\ndescription:\n\t{desc|tabindent|strip}
@@ -156,7 +156,7 @@
   rolling back to revision 0 (undo pull)
   $ hg --cwd b pull ../a 2>&1 | grep 'error.*\.notify\.conf' > /dev/null && echo pull failed
   pull failed
-  $ touch "$HGTMP/.notify.conf"
+  $ touch ".notify.conf"
 
 pull