tests/test-commit.t
changeset 20860 81d6dc8c3c63
parent 20820 f8e531a3a77c
parent 20859 e259d4c462b5
child 21021 422981492ace
--- a/tests/test-commit.t	Tue Mar 18 14:29:33 2014 -0700
+++ b/tests/test-commit.t	Mon Mar 31 10:12:07 2014 -0500
@@ -299,7 +299,7 @@
   $ echo 'sub = sub' > .hgsub
   $ hg add .hgsub
 
-  $ cat > $TESTDIR/editor.sh <<EOF
+  $ cat > $TESTTMP/editor.sh <<EOF
   > echo "==== before editing:"
   > cat \$1
   > echo "===="
@@ -307,7 +307,7 @@
   > EOF
 
   $ rm -f .hg/last-message.txt
-  $ HGEDITOR="sh $TESTDIR/editor.sh" hg commit -S -q
+  $ HGEDITOR="sh $TESTTMP/editor.sh" hg commit -S -q
   ==== before editing: