Mercurial > hg
view tests/test-inotify-lookup.t @ 20114:390aff33c2f9
tests: fix `hghave root` on windows
This lets tests\test-hghave.t pass on windows where geteuid does not exist.
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Sat, 23 Nov 2013 01:06:20 +0100 |
parents | a9e830ecd9fb |
children |
line wrap: on
line source
$ "$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 a $ "$TESTDIR/killdaemons.py" .hg/inotify.pid