tests/test-inotify-lookup
author Nicolas Dumazet <nicdumz.commits@gmail.com>
Mon, 30 Aug 2010 13:15:30 +0900
changeset 12102 9aba4ceb654d
parent 7084 f5c18a581b8b
permissions -rwxr-xr-x
test-keyword: use regular expressions instead of grepping

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