tests/test-non-interactive-wsgi
changeset 5580 f429e0e067a8
parent 5566 d74fc8dec2b4
child 8136 6b5522cb2ad2
equal deleted inserted replaced
5579:e15f7db0f0ee 5580:f429e0e067a8
     1 #!/bin/sh
     1 #!/bin/sh
       
     2 # Tests if hgweb can run without touching sys.stdin, as is required
       
     3 # by the WSGI standard and strictly implemented by mod_wsgi.
     2 
     4 
     3 mkdir repo
     5 mkdir repo
     4 cd repo
     6 cd repo
     5 hg init
     7 hg init
     6 echo foo > bar
     8 echo foo > bar