tests/test-hgweb.t
branchstable
changeset 37826 d105bbb74658
parent 37492 8d05938dd063
child 37827 11ee9bf24791
equal deleted inserted replaced
37825:e82b137a8b4e 37826:d105bbb74658
   873   
   873   
   874   partial content
   874   partial content
   875   Internal Server Error (no-eol)
   875   Internal Server Error (no-eol)
   876 
   876 
   877   $ killdaemons.py
   877   $ killdaemons.py
       
   878 
       
   879 HTTP 304 works with hgwebdir (issue5844)
       
   880 
       
   881   $ cat > hgweb.conf << EOF
       
   882   > [paths]
       
   883   > /repo = $TESTTMP/test
       
   884   > EOF
       
   885 
       
   886   $ hg serve --web-conf hgweb.conf -p $HGPORT -d --pid-file hg.pid -E error.log
       
   887   $ cat hg.pid >> $DAEMON_PIDS
       
   888 
       
   889   $ get-with-headers.py --twice --headeronly localhost:$HGPORT 'repo/static/style.css' - date etag server
       
   890   200 Script output follows
       
   891   content-length: 2677
       
   892   content-type: text/css
       
   893   500 Internal Server Error
       
   894   transfer-encoding: chunked
       
   895   [1]
       
   896 
       
   897   $ killdaemons.py
       
   898 
   878   $ cd ..
   899   $ cd ..