Mercurial > hg-stable
view tests/test-hup @ 7080:a6477aa893b8
tests: Windows compatibility fixes
- printenv.py, md5sum.py, simplemerge, test-archive, test-merge1,
test-merge-symlinks: set standard streams to binary mode
- test-encode: replace "gunzip" by "gzip -d"
- test-hup: requires fifo
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 12 Oct 2008 19:11:59 +0200 |
parents | a413f5c29c46 |
children |
line wrap: on
line source
#!/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/*