tests/test-hgweb.t
changeset 39707 5abc47d4ca6b
parent 39433 8466c6075161
child 41462 9b2b8794f801
equal deleted inserted replaced
39706:030d558c6456 39707:5abc47d4ca6b
   327   $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log
   327   $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log
   328   $ cat hg.pid >> $DAEMON_PIDS
   328   $ cat hg.pid >> $DAEMON_PIDS
   329 
   329 
   330 Test the access/error files are opened in append mode
   330 Test the access/error files are opened in append mode
   331 
   331 
   332   $ $PYTHON -c "from __future__ import print_function; print(len(open('access.log', 'rb').readlines()), 'log lines written')"
   332   $ "$PYTHON" -c "from __future__ import print_function; print(len(open('access.log', 'rb').readlines()), 'log lines written')"
   333   14 log lines written
   333   14 log lines written
   334 
   334 
   335 static file
   335 static file
   336 
   336 
   337   $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server
   337   $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server