diff --git a/tests/test-hup b/tests/test-hup new file mode 100644 --- /dev/null +++ b/tests/test-hup @@ -0,0 +1,16 @@ +#!/bin/sh + +hg init +mkfifo p + +hg serve --stdio < p & +P=$! +(echo lock; echo addchangegroup; sleep 5) > p & +Q=$! +sleep 1 +kill -HUP $P +sleep 1 +ls .hg + + +