comparison tests/test-inotify-dirty-dirstate @ 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 951ec6c7d703
children
comparison
equal deleted inserted replaced
9896:2c2f7593ffc4 9897:97eda2133a9b
18 hg add 18 hg add
19 hg ci -m foo 19 hg ci -m foo
20 20
21 cd .. 21 cd ..
22 22
23 hg --config "extensions.inotify=!" clone test test2 23 hg --config "inotify.pidfile=../hg2.pid" clone test test2
24 cat ../hg2.pid >> "$DAEMON_PIDS"
25
24 cd test2 26 cd test2
25 hg inserve -d --pid-file=../hg2.pid
26 cat ../hg2.pid >> "$DAEMON_PIDS"
27 echo bar > bar 27 echo bar > bar
28 hg add 28 hg add
29 hg ci -m bar 29 hg ci -m bar
30 cd ../test 30 cd ../test
31 echo spam > spam 31 echo spam > spam