Mercurial > hg
view tests/test-hup @ 9726:430e59ff3437
keepalive: handle broken pipes gracefully during large POSTs
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 02 Nov 2009 11:03:22 -0500 |
parents | a6477aa893b8 |
children |
line wrap: on
line source
#!/bin/sh "$TESTDIR/hghave" fifo || exit 80 hg init mkfifo p hg serve --stdio < p & P=$! (echo lock; echo addchangegroup; sleep 5) > p & Q=$! sleep 3 kill -HUP $P wait echo .hg/* .hg/store/*