tests/test-commit.t
branchstable
changeset 20859 e259d4c462b5
parent 20765 f042d4b263f4
child 20860 81d6dc8c3c63
--- a/tests/test-commit.t	Sat Mar 29 01:20:07 2014 +0900
+++ b/tests/test-commit.t	Fri Mar 28 14:33:27 2014 -0500
@@ -298,7 +298,7 @@
   $ echo 'sub = sub' > .hgsub
   $ hg add .hgsub
 
-  $ cat > $TESTDIR/editor.sh <<EOF
+  $ cat > $TESTTMP/editor.sh <<EOF
   > echo "==== before editing:"
   > cat \$1
   > echo "===="
@@ -306,7 +306,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: