tests/test-static-http
changeset 4290 347766c2ff86
parent 3464 33b6c8193652
child 5314 598dae804a5f
equal deleted inserted replaced
4289:e17598881509 4290:347766c2ff86
     1 #!/bin/sh
     1 #!/bin/sh
       
     2 
       
     3 cp "$TESTDIR"/printenv.py .
     2 
     4 
     3 http_proxy= hg clone static-http://localhost:20059/ copy
     5 http_proxy= hg clone static-http://localhost:20059/ copy
     4 echo $?
     6 echo $?
     5 test -d copy || echo copy: No such file or directory
     7 test -d copy || echo copy: No such file or directory
     6 
     8 
    42 echo baz > quux
    44 echo baz > quux
    43 hg commit -A -mtest2 -d '100000000 0'
    45 hg commit -A -mtest2 -d '100000000 0'
    44 
    46 
    45 cd ../local
    47 cd ../local
    46 echo '[hooks]' >> .hg/hgrc
    48 echo '[hooks]' >> .hg/hgrc
    47 echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc
    49 echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc
    48 http_proxy= hg pull
    50 http_proxy= hg pull
    49 
    51 
    50 kill $!
    52 kill $!