tests/test-inotify-lookup
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 27 Apr 2009 12:37:19 +0200
changeset 8222 d30a21594812
parent 7084 f5c18a581b8b
permissions -rwxr-xr-x
more whitespace cleanup and some other style nits

#!/bin/sh

"$TESTDIR/hghave" inotify || exit 80

hg init
echo "[extensions]" > .hg/hgrc
echo "inotify=" >> .hg/hgrc
hg inserve -d --pid-file .hg/inotify.pid

echo a > a
hg ci -Aqm0
hg co -q null
hg co -q
hg st
cat a

kill `cat .hg/inotify.pid`