Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/tests/test-static-http.t Wed Oct 25 21:20:01 2017 +0900 +++ b/tests/test-static-http.t Wed Oct 25 21:21:42 2017 +0900 @@ -9,7 +9,8 @@ This server doesn't do range requests so it's basically only good for one pull - $ $PYTHON "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid + $ $PYTHON "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid \ + > --logfile server.log $ cat dumb.pid >> $DAEMON_PIDS $ hg init remote $ cd remote @@ -214,3 +215,62 @@ 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ killdaemons.py + +List of files accessed over HTTP: + + $ cat server.log | sed -n -e 's|.*GET \(/[^ ]*\).*|\1|p' | sort -u + /.hg/bookmarks + /.hg/bookmarks.current + /.hg/cache/hgtagsfnodes1 + /.hg/dirstate + /.hg/requires + /.hg/store/00changelog.i + /.hg/store/00manifest.i + /.hg/store/data/%7E2ehgsub.i + /.hg/store/data/%7E2ehgsubstate.i + /.hg/store/data/a.i + /notarepo/.hg/00changelog.i + /notarepo/.hg/requires + /remote-with-names/.hg/bookmarks + /remote-with-names/.hg/bookmarks.current + /remote-with-names/.hg/cache/branch2-served + /remote-with-names/.hg/cache/hgtagsfnodes1 + /remote-with-names/.hg/cache/tags2-served + /remote-with-names/.hg/dirstate + /remote-with-names/.hg/localtags + /remote-with-names/.hg/requires + /remote-with-names/.hg/store/00changelog.i + /remote-with-names/.hg/store/00manifest.i + /remote-with-names/.hg/store/data/%7E2ehgtags.i + /remote-with-names/.hg/store/data/foo.i + /remote/.hg/bookmarks + /remote/.hg/bookmarks.current + /remote/.hg/cache/branch2-base + /remote/.hg/cache/branch2-immutable + /remote/.hg/cache/branch2-served + /remote/.hg/cache/hgtagsfnodes1 + /remote/.hg/cache/rbc-names-v1 + /remote/.hg/cache/tags2-served + /remote/.hg/dirstate + /remote/.hg/localtags + /remote/.hg/requires + /remote/.hg/store/00changelog.i + /remote/.hg/store/00manifest.i + /remote/.hg/store/data/%7E2edotfile%20with%20spaces.i + /remote/.hg/store/data/%7E2ehgtags.i + /remote/.hg/store/data/bar.i + /remote/.hg/store/data/quux.i + /remotempty/.hg/bookmarks + /remotempty/.hg/bookmarks.current + /remotempty/.hg/requires + /remotempty/.hg/store/00changelog.i + /remotempty/.hg/store/00manifest.i + /sub/.hg/bookmarks + /sub/.hg/bookmarks.current + /sub/.hg/cache/hgtagsfnodes1 + /sub/.hg/dirstate + /sub/.hg/requires + /sub/.hg/store/00changelog.i + /sub/.hg/store/00manifest.i + /sub/.hg/store/data/%7E2ehgtags.i + /sub/.hg/store/data/test.i