tests/test-newcgi.t
changeset 33262 8e6f4939a69a
parent 32956 b6776b34e44e
child 39723 5abc47d4ca6b
equal deleted inserted replaced
33261:be49f3fdcd10 33262:8e6f4939a69a
    50   > HGWEBDIR
    50   > HGWEBDIR
    51 
    51 
    52   $ chmod 755 hgwebdir.cgi
    52   $ chmod 755 hgwebdir.cgi
    53 
    53 
    54   $ . "$TESTDIR/cgienv"
    54   $ . "$TESTDIR/cgienv"
    55   $ python hgweb.cgi > page1
    55   $ $PYTHON hgweb.cgi > page1
    56   $ python hgwebdir.cgi > page2
    56   $ $PYTHON hgwebdir.cgi > page2
    57 
    57 
    58   $ PATH_INFO="/test/"
    58   $ PATH_INFO="/test/"
    59   $ PATH_TRANSLATED="/var/something/test.cgi"
    59   $ PATH_TRANSLATED="/var/something/test.cgi"
    60   $ REQUEST_URI="/test/test/"
    60   $ REQUEST_URI="/test/test/"
    61   $ SCRIPT_URI="http://hg.omnifarious.org/test/test/"
    61   $ SCRIPT_URI="http://hg.omnifarious.org/test/test/"
    62   $ SCRIPT_URL="/test/test/"
    62   $ SCRIPT_URL="/test/test/"
    63   $ python hgwebdir.cgi > page3
    63   $ $PYTHON hgwebdir.cgi > page3
    64 
    64 
    65   $ grep -i error page1 page2 page3
    65   $ grep -i error page1 page2 page3
    66   [1]
    66   [1]