tests: check for (*/sec) instead of (*B/sec) to match (X bytes/sec) stable
authorThomas Arendsen Hein <thomas@intevation.de>
Fri, 29 Apr 2011 11:04:39 +0200
branchstable
changeset 14023 2cd1520664b8
parent 14021 3eb632d9cf42
child 14024 92b768e9f80c
child 14025 1052b1421a48
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)
tests/test-http-proxy.t
tests/test-http.t
--- 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