tests/test-inotify-lookup
author Matt Mackall <mpm@selenic.com>
Mon, 25 May 2009 10:44:37 -0500
changeset 8639 1323dddf8078
parent 7084 f5c18a581b8b
permissions -rwxr-xr-x
lookup: check for dirstate damage on failure

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