Allow for MB/sec transfer rates in test-http
authorLee Cantey <lcantey@gmail.com>
Mon, 21 Aug 2006 16:33:43 -0700
changeset 2986 7827bc82ebc5
parent 2985 4cdb68d7eb92
child 2987 12d1475b48df
Allow for MB/sec transfer rates in test-http
tests/test-http
tests/test-http.out
--- 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