Mercurial > hg
changeset 3015:fa4229c60dd7
Allow for MB/sec transfer rates in test-http-proxy and test-ssh.
Also make the test more specific in test-http.
author | Lee Cantey <lcantey@gmail.com> |
---|---|
date | Mon, 21 Aug 2006 10:46:58 -0700 |
parents | 01454af644b8 |
children | 2b255c3478dc |
files | tests/test-http tests/test-http-proxy tests/test-http-proxy.out tests/test-ssh tests/test-ssh.out |
diffstat | 5 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-http Tue Aug 22 22:49:30 2006 -0300 +++ b/tests/test-http Mon Aug 21 10:46:58 2006 -0700 @@ -11,7 +11,7 @@ echo % clone via stream http_proxy= hg clone --uncompressed http://localhost:20059/ copy 2>&1 | \ - sed -e 's/[0-9][0-9.]*/XXX/g' -e 's/.\(B\/sec\)/X\1/' + sed -e 's/[0-9][0-9.]*/XXX/g' -e 's/[KM]\(B\/sec\)/X\1/' hg verify -R copy echo % try to clone via stream, should use pull instead
--- a/tests/test-http-proxy Tue Aug 22 22:49:30 2006 -0300 +++ b/tests/test-http-proxy Mon Aug 21 10:46:58 2006 -0700 @@ -15,7 +15,7 @@ echo %% url for proxy, stream http_proxy=http://localhost:20060/ hg --config http_proxy.always=True clone --uncompressed http://localhost:20059/ b | \ - sed -e 's/[0-9][0-9.]*/XXX/g' + sed -e 's/[0-9][0-9.]*/XXX/g' -e 's/[KM]\(B\/sec\)/X\1/' cd b hg verify cd ..
--- a/tests/test-http-proxy.out Tue Aug 22 22:49:30 2006 -0300 +++ b/tests/test-http-proxy.out Mon Aug 21 10:46:58 2006 -0700 @@ -2,7 +2,7 @@ %% url for proxy, stream streaming all changes XXX files to transfer, XXX bytes of data -transferred XXX bytes in XXX seconds (XXX KB/sec) +transferred XXX bytes in XXX seconds (XXX XB/sec) XXX files updated, XXX files merged, XXX files removed, XXX files unresolved checking changesets checking manifests
--- a/tests/test-ssh Tue Aug 22 22:49:30 2006 -0300 +++ b/tests/test-ssh Mon Aug 21 10:46:58 2006 -0700 @@ -38,7 +38,7 @@ echo "# clone remote via stream" hg clone -e ./dummyssh --uncompressed ssh://user@dummy/remote local-stream 2>&1 | \ - sed -e 's/[0-9][0-9.]*/XXX/g' + sed -e 's/[0-9][0-9.]*/XXX/g' -e 's/[KM]\(B\/sec\)/X\1/' cd local-stream hg verify cd ..
--- a/tests/test-ssh.out Tue Aug 22 22:49:30 2006 -0300 +++ b/tests/test-ssh.out Mon Aug 21 10:46:58 2006 -0700 @@ -2,7 +2,7 @@ # clone remote via stream streaming all changes XXX files to transfer, XXX bytes of data -transferred XXX bytes in XXX seconds (XXX KB/sec) +transferred XXX bytes in XXX seconds (XXX XB/sec) XXX files updated, XXX files merged, XXX files removed, XXX files unresolved checking changesets checking manifests