tests: check for (*/sec) instead of (*B/sec) to match (X bytes/sec)
I just had: transferred 606 bytes in 2.9 seconds (211 bytes/sec)
--- a/tests/test-http-proxy.t Fri Apr 29 08:04:46 2011 +0200
+++ b/tests/test-http-proxy.t Fri Apr 29 11:04:39 2011 +0200
@@ -17,7 +17,7 @@
$ http_proxy=http://localhost:$HGPORT1/ hg --config http_proxy.always=True clone --uncompressed http://localhost:$HGPORT/ b
streaming all changes
3 files to transfer, 303 bytes of data
- transferred * bytes in * seconds (*B/sec) (glob)
+ transferred * bytes in * seconds (*/sec) (glob)
updating to branch default
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd b
--- a/tests/test-http.t Fri Apr 29 08:04:46 2011 +0200
+++ b/tests/test-http.t Fri Apr 29 11:04:39 2011 +0200
@@ -27,7 +27,7 @@
$ hg clone --uncompressed http://localhost:$HGPORT/ copy 2>&1
streaming all changes
6 files to transfer, 606 bytes of data
- transferred * bytes in * seconds (*B/sec) (glob)
+ transferred * bytes in * seconds (*/sec) (glob)
updating to branch default
4 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg verify -R copy