tests/test-http-proxy
changeset 3012 fa4229c60dd7
parent 2622 064aef9162cc
child 5384 e3a0c092b4e2
equal deleted inserted replaced
3011:01454af644b8 3012:fa4229c60dd7
    13 cat proxy.pid >> $DAEMON_PIDS
    13 cat proxy.pid >> $DAEMON_PIDS
    14 sleep 2
    14 sleep 2
    15 
    15 
    16 echo %% url for proxy, stream
    16 echo %% url for proxy, stream
    17 http_proxy=http://localhost:20060/ hg --config http_proxy.always=True clone --uncompressed http://localhost:20059/ b | \
    17 http_proxy=http://localhost:20060/ hg --config http_proxy.always=True clone --uncompressed http://localhost:20059/ b | \
    18   sed -e 's/[0-9][0-9.]*/XXX/g'
    18   sed -e 's/[0-9][0-9.]*/XXX/g' -e 's/[KM]\(B\/sec\)/X\1/'
    19 cd b
    19 cd b
    20 hg verify
    20 hg verify
    21 cd ..
    21 cd ..
    22 
    22 
    23 echo %% url for proxy, pull
    23 echo %% url for proxy, pull