view tests/test-hup @ 1318:3f4f76012bc9

Unify display of dates. We now use one function, commands.datestr, to display dates, instead of calling time.asctime in inconsistent ways.
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 22 Sep 2005 21:29:02 -0700
parents 0902ffece4b4
children f16435b45780
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
sleep 1
ls .hg