diff tests/test-http @ 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 7827bc82ebc5
children 178007785be8
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