view tests/test-hup @ 11566:4d11fde55cc5

util: use fakebuffer as buffer in py3k There's no buffer type in py3k, util.py has a function, called fakebuffer, that implements a similar API. This patch implements fakebuffer as a memoryview wrapper in py3k.
author Renato Cunha <renatoc@gmail.com>
date Wed, 14 Jul 2010 22:59:57 -0300
parents a6477aa893b8
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/*