tests/test-tag.t
changeset 12642 bb35840e965c
parent 12399 4fee1fd3de9a
child 13133 c1492615cdee
--- 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