Mercurial > hg
annotate tests/test-hup @ 3854:4f6db0233606
Merge Benoit's .hg/store support
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 10 Dec 2006 02:11:02 -0600 |
parents | c0b449154a90 |
children | a413f5c29c46 |
rev | line source |
---|---|
642 | 1 #!/bin/sh |
2 | |
3 hg init | |
4 mkfifo p | |
5 | |
6 hg serve --stdio < p & | |
7 P=$! | |
8 (echo lock; echo addchangegroup; sleep 5) > p & | |
9 Q=$! | |
2529
9419855309cd
Some systems are slower ... give 'em some time/
Sascha Wilde <wilde@sha-bang.de>
parents:
2088
diff
changeset
|
10 sleep 3 |
642 | 11 kill -HUP $P |
2088
f16435b45780
Exit test-hup only after the background process has died.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
12 wait |
3853
c0b449154a90
switch to the .hg/store layout, fix the tests
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
2529
diff
changeset
|
13 ls -R .hg |
642 | 14 |
15 | |
16 |