tests/test-http-bundle1.t
branchstable
changeset 30234 34a5f6c66bc5
parent 29686 6e375ba01b04
child 30763 a520aefb96f1
--- a/tests/test-http-bundle1.t	Thu Oct 27 20:06:33 2016 +0200
+++ b/tests/test-http-bundle1.t	Sat Oct 29 02:44:45 2016 +0900
@@ -127,8 +127,10 @@
 pull
 
   $ cd copy-pull
-  $ echo '[hooks]' >> .hg/hgrc
-  $ echo "changegroup = printenv.py changegroup" >> .hg/hgrc
+  $ cat >> .hg/hgrc <<EOF
+  > [hooks]
+  > changegroup = sh -c "printenv.py changegroup"
+  > EOF
   $ hg pull
   pulling from http://localhost:$HGPORT1/
   searching for changes