tests/test-hgwebdir
changeset 9184 f6eb03027411
parent 8245 0eade101f762
child 9363 8635b33eaade
equal deleted inserted replaced
9183:d0225fa2f6c4 9184:f6eb03027411
    86 cat > collections.conf <<EOF
    86 cat > collections.conf <<EOF
    87 [collections]
    87 [collections]
    88 $root=$root
    88 $root=$root
    89 EOF
    89 EOF
    90 
    90 
    91 hg serve -p $HGPORT2 -d --pid-file=hg.pid --webdir-conf collections.conf \
    91 hg serve --config web.baseurl=http://hg.example.com:8080/ -p $HGPORT2 -d \
       
    92     --pid-file=hg.pid --webdir-conf collections.conf \
    92     -A access-collections.log -E error-collections.log
    93     -A access-collections.log -E error-collections.log
    93 cat hg.pid >> $DAEMON_PIDS
    94 cat hg.pid >> $DAEMON_PIDS
    94 
    95 
    95 echo % collections: should succeed
    96 echo % collections: should succeed
    96 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/?style=raw'
    97 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/?style=raw'