view tests/test-hup @ 2103:caccf539c9a4

Use application/octet-stream as the content-type of unknown binary files
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Thu, 20 Apr 2006 15:42:02 +0200
parents f16435b45780
children 9419855309cd
line wrap: on
line source

#!/bin/sh

hg init
mkfifo p

hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 1
kill -HUP $P
wait
ls .hg