diff tests/test-http @ 4289:e17598881509

test-http: use printenv.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 26 Mar 2007 23:50:01 -0300
parents 178007785be8
children e3a0c092b4e2
line wrap: on
line diff
--- a/tests/test-http	Mon Mar 26 23:50:00 2007 -0300
+++ b/tests/test-http	Mon Mar 26 23:50:01 2007 -0300
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+cp "$TESTDIR"/printenv.py .
+
 hg init test
 cd test
 echo foo>foo
@@ -31,6 +33,6 @@
 echo % pull
 cd copy-pull
 echo '[hooks]' >> .hg/hgrc
-echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc
+echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc
 hg pull
 cd ..