Mercurial > hg
view tests/test-inotify-debuginotify.t @ 19057:3d265e0822d3
run-tests: introduce --random for running tests in random error
This is convenient when investigating failures one by one to avoid running the
same fixed tests first every time.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 17 Apr 2013 03:41:34 +0200 |
parents | 104e120416ec |
children |
line wrap: on
line source
$ "$TESTDIR/hghave" inotify || exit 80 $ hg init $ echo "[extensions]" >> $HGRCPATH $ echo "inotify=" >> $HGRCPATH inserve $ hg inserve -d --pid-file=hg.pid $ cat hg.pid >> "$DAEMON_PIDS" let the daemon finish its stuff $ sleep 1 empty $ hg debuginotify directories being watched: / .hg/ $ mkdir a $ sleep 1 only 'a $ hg debuginotify directories being watched: / .hg/ a/ $ rmdir a $ sleep 1 empty again $ hg debuginotify directories being watched: / .hg/ $ "$TESTDIR/killdaemons.py" hg.pid