tests/test-transplant.t
branchstable
changeset 23092 501dc6b1ca78
parent 22947 c63a09b6b337
child 23452 86c0d8c1484f
--- a/tests/test-transplant.t	Fri Oct 24 13:50:00 2014 -0400
+++ b/tests/test-transplant.t	Tue Oct 28 00:19:18 2014 +0900
@@ -99,7 +99,11 @@
   > env | grep HGEDITFORM
   > true
   > EOF
-  $ HGEDITOR="sh $TESTTMP/checkeditform.sh; cat" hg transplant --edit 7
+  $ cat > $TESTTMP/checkeditform-n-cat.sh <<EOF
+  > env | grep HGEDITFORM
+  > cat \$*
+  > EOF
+  $ HGEDITOR="sh $TESTTMP/checkeditform-n-cat.sh" hg transplant --edit 7
   applying ffd6818a3975
   HGEDITFORM=transplant.normal
   b3