tests/test-largefiles.t
changeset 32938 b6776b34e44e
parent 32185 1b27e1793156
child 33099 4a8db3538c39
equal deleted inserted replaced
32937:7fe1f9785c75 32938:b6776b34e44e
   213 #endif
   213 #endif
   214 
   214 
   215 Test largefiles can be loaded in hgweb (wrapcommand() shouldn't fail)
   215 Test largefiles can be loaded in hgweb (wrapcommand() shouldn't fail)
   216 
   216 
   217   $ cat <<EOF > "$TESTTMP/hgweb.cgi"
   217   $ cat <<EOF > "$TESTTMP/hgweb.cgi"
   218   > #!/usr/bin/env python
   218   > #!$PYTHON
   219   > from mercurial import demandimport; demandimport.enable()
   219   > from mercurial import demandimport; demandimport.enable()
   220   > from mercurial.hgweb import hgweb
   220   > from mercurial.hgweb import hgweb
   221   > from mercurial.hgweb import wsgicgi
   221   > from mercurial.hgweb import wsgicgi
   222   > application = hgweb('.', 'test repo')
   222   > application = hgweb('.', 'test repo')
   223   > wsgicgi.launch(application)
   223   > wsgicgi.launch(application)