tests/test-inotify-lookup
author Simon Heimberg <simohe@besonet.ch>
Tue, 19 May 2009 09:36:20 +0200
changeset 8592 cc22b4168879
parent 7084 f5c18a581b8b
permissions -rwxr-xr-x
runtest: do not start testing when there is no test

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