Commit Graph

24 Commits

Author SHA1 Message Date
Patrick Mezard
484054cdea Fix test-pull under Windows 2010-02-14 19:15:56 +01:00
Mads Kiilerich
6b87ee4801 tests: don't just silently strip port numbers 2010-02-08 02:53:41 +01:00
Wagner Bruna
1f5640533e run-tests.py: clears http_proxy for all tests 2009-12-29 19:02:26 -02:00
Sune Foldager
0d1feca701 handle file URIs correctly, according to RFC 2396 (issue1153)
The new code aims to implement the RFC correctly for file URIs.
Previously they were handled incorrectly in several ways, which
could cause problem on Windows in particular.
2009-12-03 11:06:55 +01:00
Bryan O'Sullivan
a03fea73e0 Allow tests to run in parallel. 2007-10-05 12:17:01 -07:00
Bryan O'Sullivan
e2e04c39f7 issue 622: pull/unbundle -u updates to default branch if repo was empty 2007-07-16 18:01:20 -07:00
Matt Mackall
2085d36412 make manifest friendlier
switch to using context code
..which uses first parent by default
show file hashes only with debug switch
show permissions with verbose
fix up tests
2006-11-30 22:38:48 -06:00
Vadim Gelfer
9ea4436262 add support for streaming clone.
existing clone code uses pull to get changes from remote repo.  is very
slow, uses lots of memory and cpu.

new clone code has server write file data straight to client, client
writes file data straight to disk.  memory and cpu used are very low,
clone is much faster over lan.

new client can still clone with pull, can still clone from older servers.
new server can still serve older clients.
2006-07-14 11:17:22 -07:00
Vadim Gelfer
832c369ab0 tests: add timeouts, make run-tests.py clean up dead daemon processes
test timeout feature is needed for test with python 2.5 beta.  if test
does not complete in time (30 seconds is default), it is killed.

some times daemon process used in test can be alive after the test
is killed by user or by timeout.  tests now record daemon pids into
$DAEMON_PIDS and run-tests.py kills all living daemons after every test.

final little change is to add newline to end of pid file printed by
"hg serve", else "cat hg.pid >> $DAEMON_FILES" gives garbage.
2006-07-06 11:45:34 -07:00
Eric Hopper
1d7cea1fcf Merging with crew. 2006-03-06 08:47:16 -08:00
Peter van Dijk
3d56066974 add http_proxy= lines to test-bad-pull and test-pull 2006-02-22 16:11:17 +01:00
Thomas Arendsen Hein
9440d1331a Don't use mktemp in tests, we're already in a secure temp dir. 2006-02-22 07:51:32 +01:00
Vadim Gelfer
3243463208 make server tests use --daemon. 2006-02-17 21:55:33 -08:00
Thomas Arendsen Hein
f36846f252 Make test-pull work on slow machines, where hg serve needs some time to start. 2005-07-23 17:09:37 +01:00
mpm@selenic.com
3a08ca5eaa Update tests to use commit -m and default -u
manifest hash: 6e4385453843031a712005a320d6000595b40d05
2005-07-21 15:05:17 -05:00
Matt Mackall
cc73c7d4df Update tests 2005-07-06 22:27:25 -08:00
Matt Mackall
045928efda update tests
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

update tests

manifest hash: 70079385599132ca8f90582e1f9317ca46167532
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyaISywK+sNU5EO8RApnGAJ0blIxE0tKPzcRQUDAHCLe5KmUSNgCgjGoA
kV4Os9FG1NmGaCysPIsKwts=
=Ee67
-----END PGP SIGNATURE-----
2005-07-04 12:54:42 -08:00
Thomas Arendsen Hein
51ae3ccedf Remove bashisms and use /bin/sh instead of /bin/bash.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Remove bashisms and use /bin/sh instead of /bin/bash.

manifest hash: 25560e04ff8ac33a6d8b82d2328b4e90578bee4c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCxOEjW7P1GVgWeRoRAm9XAJ9IjlbMerPYEhKQQu7Ufcm6630cDwCfdXJ3
865XH6YVMuCYNjf3eibwQaM=
=r3gh
-----END PGP SIGNATURE-----
2005-07-01 07:22:27 +01:00
mpm@selenic.com
986879ff2d Fix empty pull bug that appeared this morning
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fix empty pull bug that appeared this morning

manifest hash: 53e4709a701f03d9905933c80758ba13caf3998c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwxdJywK+sNU5EO8RAuoPAJ4tb9fd1Emm21/HLAEpyntaW2uoHQCfcc8z
J8LB4mVG3gTsvRtiLZBVV/g=
=+2C3
-----END PGP SIGNATURE-----
2005-06-29 13:48:57 -08:00
Thomas Arendsen Hein
02baad5845 Use "kill $!" to kill running background processes.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Use "kill $!" to kill running background processes.

manifest hash: 94563ef45ac0c8d15c9c827430f3d87380946434
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCv5QNW7P1GVgWeRoRAm+1AJwMopIWkvc/eG21mm/gbTrC9sCvhACePQl/
VOPdJKQxutQTCdAqA8iMzck=
=7ejv
-----END PGP SIGNATURE-----
2005-06-27 06:52:13 +01:00
mpm@selenic.com
4fb29605c3 [PATCH] add clone command
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] add clone command

Add clone command. Mark with-source version of "init" as deprecated.

manifest hash: 3c31263474977c3d8303f45f71c44f7b7e10e97e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCvzhOywK+sNU5EO8RAmh+AJwIlRfX143oxKShgPWF2dbDvCuH3gCbBrAW
isIHptwVRX8pcA0lU638pHo=
=ZoQy
-----END PGP SIGNATURE-----
2005-06-26 15:20:46 -08:00
mpm@selenic.com
fedc819459 Tidy up conflict and pull tests
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tidy up conflict and pull tests

Fix failure to kill hg serve process and pipeline ordering with set -e

manifest hash: eaf968ea8ae9fe1fc94f04b99080eabcc6eafd88
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsv9vywK+sNU5EO8RAh2aAJ4iynCcNhmQeOy9+dq+v+9IundFIwCfWHgg
pI3IH2BvqUlckdLwx3M5jcQ=
=s/QA
-----END PGP SIGNATURE-----
2005-06-17 08:50:55 -08:00
mpm@selenic.com
bf6439cf5c test suite: fix timezone problems and port collision problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

test suite: fix timezone problems and port collision problem

manifest hash: 44652133f49c24679b289c0250eb591682225c54
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsaq7ywK+sNU5EO8RAluQAKCSuUGge7bQPbWbQoIfWETDFRibNwCgs12e
/TSLCPJ0aHvqttMhJSaYOSU=
=5OYO
-----END PGP SIGNATURE-----
2005-06-16 08:37:15 -08:00
mpm@selenic.com
5c6e3ef485 Add some more tests
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add some more tests

manifest hash: 0e357a0d32baee877f2c7b6c6a8f7468e4b7f1b5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCr4TQywK+sNU5EO8RAoZ1AJ9lbLIN2uwLWpVOilQs9CkyFIaQ5wCeKToO
1HXJVrlhexgIzwSnBkTBNOo=
=UJ+y
-----END PGP SIGNATURE-----
2005-06-14 17:30:56 -08:00