changeset 2986:7827bc82ebc5

Allow for MB/sec transfer rates in test-http
author Lee Cantey <lcantey@gmail.com>
date Mon, 21 Aug 2006 16:33:43 -0700
parents 4cdb68d7eb92
children 12d1475b48df
files tests/test-http tests/test-http.out
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-http	Mon Aug 21 14:13:27 2006 -0700
+++ b/tests/test-http	Mon Aug 21 16:33:43 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'
+  sed -e 's/[0-9][0-9.]*/XXX/g' -e 's/.\(B\/sec\)/X\1/'
 hg verify -R copy
 
 echo % try to clone via stream, should use pull instead
--- a/tests/test-http.out	Mon Aug 21 14:13:27 2006 -0700
+++ b/tests/test-http.out	Mon Aug 21 16:33:43 2006 -0700
@@ -2,7 +2,7 @@
 % clone 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