# HG changeset patch # User Benoit Boissinot # Date 1225125457 -3600 # Node ID 7e963c80bbe67ee3284c451e442551196c70d512 # Parent 7e2e3aacc5dcebc33b1038a3577a25510dae3186 test-http-proxy: print the log from the proxy diff -r 7e2e3aacc5dc -r 7e963c80bbe6 tests/test-http-proxy --- a/tests/test-http-proxy Mon Oct 27 13:52:55 2008 +0100 +++ b/tests/test-http-proxy Mon Oct 27 17:37:37 2008 +0100 @@ -38,4 +38,5 @@ echo %% bad host:port for proxy http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f +cat proxy.log | sed -e 's/^.*\] /XXX /' exit 0 diff -r 7e2e3aacc5dc -r 7e963c80bbe6 tests/test-http-proxy.out --- a/tests/test-http-proxy.out Mon Oct 27 13:52:55 2008 +0100 +++ b/tests/test-http-proxy.out Mon Oct 27 17:37:37 2008 +0100 @@ -49,3 +49,18 @@ 1 files updated, 0 files merged, 0 files removed, 0 files unresolved %% bad host:port for proxy abort: error: Connection refused +XXX "GET http://localhost:20059/?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between HTTP/1.1" - - +XXX "GET http://localhost:20059/?cmd=capabilities HTTP/1.1" - - +XXX "GET http://localhost:20059/?cmd=stream_out HTTP/1.1" - - +XXX "GET http://localhost:20059/?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between HTTP/1.1" - - +XXX "GET http://localhost:20059/?cmd=heads HTTP/1.1" - - +XXX "GET http://localhost:20059/?cmd=changegroup&roots=0000000000000000000000000000000000000000 HTTP/1.1" - - +XXX "GET http://localhost:20059/?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between HTTP/1.1" - - +XXX "GET http://localhost:20059/?cmd=heads HTTP/1.1" - - +XXX "GET http://localhost:20059/?cmd=changegroup&roots=0000000000000000000000000000000000000000 HTTP/1.1" - - +XXX "GET http://localhost:20059/?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between HTTP/1.1" - - +XXX "GET http://localhost:20059/?cmd=heads HTTP/1.1" - - +XXX "GET http://localhost:20059/?cmd=changegroup&roots=0000000000000000000000000000000000000000 HTTP/1.1" - - +XXX "GET http://localhost:20059/?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between HTTP/1.1" - - +XXX "GET http://localhost:20059/?cmd=heads HTTP/1.1" - - +XXX "GET http://localhost:20059/?cmd=changegroup&roots=0000000000000000000000000000000000000000 HTTP/1.1" - -