tests/test-hgweb
changeset 7428 fdcde929ce4f
parent 7341 6cb522c5d56a
child 8167 6c82beaaa11a
equal deleted inserted replaced
7427:f21e3d0e335b 7428:fdcde929ce4f
    29 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork?style=raw'
    29 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork?style=raw'
    30 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork'
    30 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork'
    31 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/bork?style=raw'
    31 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/bork?style=raw'
    32 
    32 
    33 echo % stop and restart
    33 echo % stop and restart
    34 kill `cat hg.pid`
    34 "$TESTDIR/killdaemons.py"
    35 hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log
    35 hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log
    36 cat hg.pid >> $DAEMON_PIDS
    36 cat hg.pid >> $DAEMON_PIDS
    37 # Test the access/error files are opened in append mode
    37 # Test the access/error files are opened in append mode
    38 python -c "print len(file('access.log').readlines()), 'log lines written'"
    38 python -c "print len(file('access.log').readlines()), 'log lines written'"
    39 
    39