Show More
@@ -116,9 +116,9 b" Check hgweb's load order of extensions a" | |||||
116 | > application = hgweb('.', 'test repo') |
|
116 | > application = hgweb('.', 'test repo') | |
117 | > wsgicgi.launch(application) |
|
117 | > wsgicgi.launch(application) | |
118 | > EOF |
|
118 | > EOF | |
|
119 | $ . "$TESTDIR/cgienv" | |||
119 |
|
120 | |||
120 | $ REQUEST_METHOD='GET' PATH_INFO='/' SCRIPT_NAME='' QUERY_STRING='' \ |
|
121 | $ PATH_INFO='/' SCRIPT_NAME='' python hgweb.cgi \ | |
121 | > SERVER_PORT='80' SERVER_NAME='localhost' python hgweb.cgi \ |
|
|||
122 | > | grep '^[0-9]) ' # ignores HTML output |
|
122 | > | grep '^[0-9]) ' # ignores HTML output | |
123 | 1) foo imported |
|
123 | 1) foo imported | |
124 | 1) bar imported |
|
124 | 1) bar imported | |
@@ -137,9 +137,7 b" Check hgweb's load order of extensions a" | |||||
137 | $ PATH_INFO='/shortlog' |
|
137 | $ PATH_INFO='/shortlog' | |
138 | #endif |
|
138 | #endif | |
139 | $ export PATH_INFO |
|
139 | $ export PATH_INFO | |
140 | $ REQUEST_METHOD='GET' SCRIPT_NAME='' \ |
|
140 | $ SCRIPT_NAME='' QUERY_STRING='rev=foo() and bar()' python hgweb.cgi \ | |
141 | > QUERY_STRING='rev=foo() and bar()' \ |
|
|||
142 | > SERVER_PORT='80' SERVER_NAME='localhost' python hgweb.cgi \ |
|
|||
143 | > | grep '<a href="/rev/[0-9a-z]*">' |
|
141 | > | grep '<a href="/rev/[0-9a-z]*">' | |
144 | <a href="/rev/c24b9ac61126">add file</a> |
|
142 | <a href="/rev/c24b9ac61126">add file</a> | |
145 |
|
143 |
@@ -222,13 +222,9 b' Test largefiles can be loaded in hgweb (' | |||||
222 | > application = hgweb('.', 'test repo') |
|
222 | > application = hgweb('.', 'test repo') | |
223 | > wsgicgi.launch(application) |
|
223 | > wsgicgi.launch(application) | |
224 | > EOF |
|
224 | > EOF | |
|
225 | $ . "$TESTDIR/cgienv" | |||
225 |
|
226 | |||
226 | $ PATH_INFO='/' \ |
|
227 | $ SCRIPT_NAME='' \ | |
227 | > QUERY_STRING='' \ |
|
|||
228 | > REQUEST_METHOD='GET' \ |
|
|||
229 | > SCRIPT_NAME='' \ |
|
|||
230 | > SERVER_NAME='localhost' \ |
|
|||
231 | > SERVER_PORT='80' \ |
|
|||
232 | > python "$TESTTMP/hgweb.cgi" > /dev/null |
|
228 | > python "$TESTTMP/hgweb.cgi" > /dev/null | |
233 |
|
229 | |||
234 | Test archiving the various revisions. These hit corner cases known with |
|
230 | Test archiving the various revisions. These hit corner cases known with |
General Comments 0
You need to be logged in to leave comments.
Login now