diff tests/test-mq-qimport.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 3177e3a7b14f
children dc961471efde
line wrap: on
line diff
--- a/tests/test-mq-qimport.t	Fri Oct 08 22:36:10 2010 -0500
+++ b/tests/test-mq-qimport.t	Fri Oct 08 22:36:11 2010 -0500
@@ -85,17 +85,18 @@
 
   $ echo foo >> foo
   $ hg add foo
-  $ hg diff > $HGTMP/url.diff
+  $ hg diff > url.diff
   $ hg revert --no-backup foo
   $ rm foo
 
 Under unix: file:///foobar/blah
 Under windows: file:///c:/foobar/blah
 
-  $ patchurl=`echo "$HGTMP"/url.diff | tr '\\\\' /`
+  $ patchurl=`pwd | tr '\\\\' /`/url.diff
   $ expr "$patchurl" : "\/" > /dev/null || patchurl="/$patchurl"
   $ hg qimport file://"$patchurl"
   adding url.diff to series file
+  $ rm url.diff
   $ hg qun
   url.diff