Mercurial > hg
comparison tests/test-static-http.t @ 34925:8b95e420e248 stable
test-static-http: show all files accessed over HTTP
This provides some confidence on files that should be loadable over HTTP.
Hopefully it will prevent future bugs.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 25 Oct 2017 21:21:42 +0900 |
parents | eb586ed5d8ce |
children | f7e4d6c20095 |
comparison
equal
deleted
inserted
replaced
34924:bfcd0d227972 | 34925:8b95e420e248 |
---|---|
7 [1] | 7 [1] |
8 | 8 |
9 This server doesn't do range requests so it's basically only good for | 9 This server doesn't do range requests so it's basically only good for |
10 one pull | 10 one pull |
11 | 11 |
12 $ $PYTHON "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid | 12 $ $PYTHON "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid \ |
13 > --logfile server.log | |
13 $ cat dumb.pid >> $DAEMON_PIDS | 14 $ cat dumb.pid >> $DAEMON_PIDS |
14 $ hg init remote | 15 $ hg init remote |
15 $ cd remote | 16 $ cd remote |
16 $ echo foo > bar | 17 $ echo foo > bar |
17 $ echo c2 > '.dotfile with spaces' | 18 $ echo c2 > '.dotfile with spaces' |
212 new changesets 68986213bd44:4ee3fcef1c80 | 213 new changesets 68986213bd44:4ee3fcef1c80 |
213 updating to branch default | 214 updating to branch default |
214 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 215 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
215 | 216 |
216 $ killdaemons.py | 217 $ killdaemons.py |
218 | |
219 List of files accessed over HTTP: | |
220 | |
221 $ cat server.log | sed -n -e 's|.*GET \(/[^ ]*\).*|\1|p' | sort -u | |
222 /.hg/bookmarks | |
223 /.hg/bookmarks.current | |
224 /.hg/cache/hgtagsfnodes1 | |
225 /.hg/dirstate | |
226 /.hg/requires | |
227 /.hg/store/00changelog.i | |
228 /.hg/store/00manifest.i | |
229 /.hg/store/data/%7E2ehgsub.i | |
230 /.hg/store/data/%7E2ehgsubstate.i | |
231 /.hg/store/data/a.i | |
232 /notarepo/.hg/00changelog.i | |
233 /notarepo/.hg/requires | |
234 /remote-with-names/.hg/bookmarks | |
235 /remote-with-names/.hg/bookmarks.current | |
236 /remote-with-names/.hg/cache/branch2-served | |
237 /remote-with-names/.hg/cache/hgtagsfnodes1 | |
238 /remote-with-names/.hg/cache/tags2-served | |
239 /remote-with-names/.hg/dirstate | |
240 /remote-with-names/.hg/localtags | |
241 /remote-with-names/.hg/requires | |
242 /remote-with-names/.hg/store/00changelog.i | |
243 /remote-with-names/.hg/store/00manifest.i | |
244 /remote-with-names/.hg/store/data/%7E2ehgtags.i | |
245 /remote-with-names/.hg/store/data/foo.i | |
246 /remote/.hg/bookmarks | |
247 /remote/.hg/bookmarks.current | |
248 /remote/.hg/cache/branch2-base | |
249 /remote/.hg/cache/branch2-immutable | |
250 /remote/.hg/cache/branch2-served | |
251 /remote/.hg/cache/hgtagsfnodes1 | |
252 /remote/.hg/cache/rbc-names-v1 | |
253 /remote/.hg/cache/tags2-served | |
254 /remote/.hg/dirstate | |
255 /remote/.hg/localtags | |
256 /remote/.hg/requires | |
257 /remote/.hg/store/00changelog.i | |
258 /remote/.hg/store/00manifest.i | |
259 /remote/.hg/store/data/%7E2edotfile%20with%20spaces.i | |
260 /remote/.hg/store/data/%7E2ehgtags.i | |
261 /remote/.hg/store/data/bar.i | |
262 /remote/.hg/store/data/quux.i | |
263 /remotempty/.hg/bookmarks | |
264 /remotempty/.hg/bookmarks.current | |
265 /remotempty/.hg/requires | |
266 /remotempty/.hg/store/00changelog.i | |
267 /remotempty/.hg/store/00manifest.i | |
268 /sub/.hg/bookmarks | |
269 /sub/.hg/bookmarks.current | |
270 /sub/.hg/cache/hgtagsfnodes1 | |
271 /sub/.hg/dirstate | |
272 /sub/.hg/requires | |
273 /sub/.hg/store/00changelog.i | |
274 /sub/.hg/store/00manifest.i | |
275 /sub/.hg/store/data/%7E2ehgtags.i | |
276 /sub/.hg/store/data/test.i |