diff tests/test-http @ 2969: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 7c81e337fed2
children fa4229c60dd7
line wrap: on
line diff
--- a/tests/test-http
+++ b/tests/test-http
@@ -11,7 +11,7 @@ cat hg1.pid hg2.pid >> $DAEMON_PIDS
 
 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