# HG changeset patch # User Lee Cantey # Date 1156182418 25200 # Node ID fa4229c60dd7e1d0aa26a1bb57617eadd6315d39 # Parent 01454af644b8d1e32ac1b733f71e0ddbfd3c8ae9 Allow for MB/sec transfer rates in test-http-proxy and test-ssh. Also make the test more specific in test-http. diff -r 01454af644b8 -r fa4229c60dd7 tests/test-http --- 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 diff -r 01454af644b8 -r fa4229c60dd7 tests/test-http-proxy --- 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 .. diff -r 01454af644b8 -r fa4229c60dd7 tests/test-http-proxy.out --- 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 diff -r 01454af644b8 -r fa4229c60dd7 tests/test-ssh --- 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 .. diff -r 01454af644b8 -r fa4229c60dd7 tests/test-ssh.out --- 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