Mercurial > public > mercurial-scm > hg-stable
diff tests/test-inotify @ 9897:97eda2133a9b stable
inotify: add a inotify.pidfile configuration possibility
This will mainly help us in our tests to log pids of inotify servers
started implicitely, to make sure that unkilled inotify daemons do not clutter
the output of unrelated tests.
Also desactivate the workaround introduced in 951ec6c7d703
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Tue, 17 Nov 2009 15:36:09 +0900 |
parents | 2c2f7593ffc4 |
children | 8939900073a8 |
line wrap: on
line diff
--- a/tests/test-inotify Tue Nov 17 15:00:00 2009 +0900 +++ b/tests/test-inotify Tue Nov 17 15:36:09 2009 +0900 @@ -20,7 +20,11 @@ cd repo2 echo b >> a # check that daemon started automatically works correctly -hg status +# and make sure that inotify.pidfile works +hg --config "inotify.pidfile=../hg2.pid" status + +# make sure that pidfile worked. Output should be silent. +kill `cat ../hg2.pid` cd ../repo1 echo % inserve