diff tests/test-tag.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 4fee1fd3de9a
children c1492615cdee
line wrap: on
line diff
--- a/tests/test-tag.t	Fri Oct 08 22:36:10 2010 -0500
+++ b/tests/test-tag.t	Fri Oct 08 22:36:11 2010 -0500
@@ -186,13 +186,13 @@
 
 test custom commit messages
 
-  $ cat > $HGTMP/editor <<'__EOF__'
+  $ cat > editor << '__EOF__'
   > #!/bin/sh
   > echo "custom tag message" > "$1"
   > echo "second line" >> "$1"
   > __EOF__
-  $ chmod +x "$HGTMP"/editor
-  $ HGEDITOR="'$HGTMP'"/editor hg tag custom-tag -e
+  $ chmod +x editor
+  $ HGEDITOR="'`pwd`'"/editor hg tag custom-tag -e
   $ hg log -l1 --template "{desc}\n"
   custom tag message
   second line