Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-hup @ 2088:f16435b45780
Exit test-hup only after the background process has died.
Otherwise the open file might let the tests fail on NFS.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 19 Apr 2006 07:09:15 +0200 |
parents | 0902ffece4b4 |
children | 9419855309cd |
comparison
equal
deleted
inserted
replaced
2087:19fcc2889bad | 2088:f16435b45780 |
---|---|
7 P=$! | 7 P=$! |
8 (echo lock; echo addchangegroup; sleep 5) > p & | 8 (echo lock; echo addchangegroup; sleep 5) > p & |
9 Q=$! | 9 Q=$! |
10 sleep 1 | 10 sleep 1 |
11 kill -HUP $P | 11 kill -HUP $P |
12 sleep 1 | 12 wait |
13 ls .hg | 13 ls .hg |
14 | 14 |
15 | 15 |
16 | 16 |