##// END OF EJS Templates
keepalive: handle broken pipes gracefully during large POSTs
keepalive: handle broken pipes gracefully during large POSTs

File last commit:

r7080:a6477aa8 default
r9726:430e59ff default
Show More
test-hup
15 lines | 194 B | text/plain | TextLexer
#!/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/*