tests/test-http-proxy
changeset 2622 064aef9162cc
parent 2621 5a5852a417b1
child 3015 fa4229c60dd7
equal deleted inserted replaced
2621:5a5852a417b1 2622:064aef9162cc
     2 
     2 
     3 hg init a
     3 hg init a
     4 cd a
     4 cd a
     5 echo a > a
     5 echo a > a
     6 hg ci -Ama -d '1123456789 0'
     6 hg ci -Ama -d '1123456789 0'
     7 hg --config server.stream=True serve -p 20059 -d --pid-file=hg.pid
     7 hg --config server.uncompressed=True serve -p 20059 -d --pid-file=hg.pid
     8 cat hg.pid >> $DAEMON_PIDS
     8 cat hg.pid >> $DAEMON_PIDS
     9 
     9 
    10 cd ..
    10 cd ..
    11 ("$TESTDIR/tinyproxy.py" 20060 localhost >proxy.log 2>&1 </dev/null &
    11 ("$TESTDIR/tinyproxy.py" 20060 localhost >proxy.log 2>&1 </dev/null &
    12 echo $! > proxy.pid)
    12 echo $! > proxy.pid)