diff tests/test-static-http @ 4290:347766c2ff86

test-static-http: use printenv.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 26 Mar 2007 23:50:03 -0300
parents 33b6c8193652
children 598dae804a5f
line wrap: on
line diff
--- a/tests/test-static-http	Mon Mar 26 23:50:01 2007 -0300
+++ b/tests/test-static-http	Mon Mar 26 23:50:03 2007 -0300
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+cp "$TESTDIR"/printenv.py .
+
 http_proxy= hg clone static-http://localhost:20059/ copy
 echo $?
 test -d copy || echo copy: No such file or directory
@@ -44,7 +46,7 @@
 
 cd ../local
 echo '[hooks]' >> .hg/hgrc
-echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc
+echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc
 http_proxy= hg pull
 
 kill $!