tests/test-serve.t
changeset 18602 339a3fa19695
parent 16913 f2719b387380
child 20008 e54a078153f7
equal deleted inserted replaced
18601:ce844e8e8af2 18602:339a3fa19695
     7   >              -e "s/:$HGPORT2\\([^0-9]\\)/:HGPORT2\1/g" \
     7   >              -e "s/:$HGPORT2\\([^0-9]\\)/:HGPORT2\1/g" \
     8   >              -e 's/http:\/\/[^/]*\//http:\/\/localhost\//'
     8   >              -e 's/http:\/\/[^/]*\//http:\/\/localhost\//'
     9   >    cat hg.pid >> "$DAEMON_PIDS"
     9   >    cat hg.pid >> "$DAEMON_PIDS"
    10   >    echo % errors
    10   >    echo % errors
    11   >    cat errors.log
    11   >    cat errors.log
    12   >    if [ "$KILLQUIETLY" = "Y" ]; then
    12   >    "$TESTDIR/killdaemons.py" hg.pid
    13   >        kill `cat hg.pid` 2>/dev/null
       
    14   >    else
       
    15   >        kill `cat hg.pid`
       
    16   >    fi
       
    17   >    while kill -0 `cat hg.pid` 2>/dev/null; do sleep 0; done
       
    18   > }
    13   > }
    19 
    14 
    20   $ hg init test
    15   $ hg init test
    21   $ cd test
    16   $ cd test
    22   $ echo '[web]' > .hg/hgrc
    17   $ echo '[web]' > .hg/hgrc