tests/test-http
changeset 3012 fa4229c60dd7
parent 2969 7827bc82ebc5
child 4130 178007785be8
--- 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' -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