tests/test-inotify-lookup
author Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>
Sun, 13 Dec 2009 18:29:16 +0100
changeset 10077 89617aacb495
parent 7084 f5c18a581b8b
permissions -rwxr-xr-x
make ui.interactive() return false in case stdin lacks isatty

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