tests/test-hup
author Vadim Gelfer <vadim.gelfer@gmail.com>
Wed, 21 Jun 2006 15:31:23 -0700
changeset 2477 857591c586e0
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
use commit time as mtime for file archives. now output from two run of "hg archive -t zip" is same.

#!/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