equal
deleted
inserted
replaced
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 "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 |