tests/test-https.t
branchstable
changeset 30234 34a5f6c66bc5
parent 29842 d5497eb1d768
child 30332 318a24b52eeb
--- a/tests/test-https.t	Thu Oct 27 20:06:33 2016 +0200
+++ b/tests/test-https.t	Sat Oct 29 02:44:45 2016 +0900
@@ -203,8 +203,10 @@
 pull without cacert
 
   $ 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 $DISABLECACERTS
   pulling from https://localhost:$HGPORT/
   warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?)