Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
3014:01454af644b8 | 3015:fa4229c60dd7 |
---|---|
9 cd .. | 9 cd .. |
10 cat hg1.pid hg2.pid >> $DAEMON_PIDS | 10 cat hg1.pid hg2.pid >> $DAEMON_PIDS |
11 | 11 |
12 echo % clone via stream | 12 echo % clone via stream |
13 http_proxy= hg clone --uncompressed http://localhost:20059/ copy 2>&1 | \ | 13 http_proxy= hg clone --uncompressed http://localhost:20059/ copy 2>&1 | \ |
14 sed -e 's/[0-9][0-9.]*/XXX/g' -e 's/.\(B\/sec\)/X\1/' | 14 sed -e 's/[0-9][0-9.]*/XXX/g' -e 's/[KM]\(B\/sec\)/X\1/' |
15 hg verify -R copy | 15 hg verify -R copy |
16 | 16 |
17 echo % try to clone via stream, should use pull instead | 17 echo % try to clone via stream, should use pull instead |
18 http_proxy= hg clone --uncompressed http://localhost:20060/ copy2 | 18 http_proxy= hg clone --uncompressed http://localhost:20060/ copy2 |
19 | 19 |