Mercurial > hg
comparison tests/run-tests.py @ 10013:b2e87fde6806
run-tests: --inotify: use inotify.appendpid to append pids to $DAEMON_PIDS
Introduce a inotify.appendpid configuration possibility that appends pids
to inotify.pidfile when set to True.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Tue, 01 Dec 2009 09:53:02 +0900 |
parents | b37b060d84c7 |
children | d7c23f4a14c7 |
comparison
equal
deleted
inserted
replaced
10012:2bfe1a23dafa | 10013:b2e87fde6806 |
---|---|
474 if options.inotify: | 474 if options.inotify: |
475 hgrc.write('[extensions]\n') | 475 hgrc.write('[extensions]\n') |
476 hgrc.write('inotify=\n') | 476 hgrc.write('inotify=\n') |
477 hgrc.write('[inotify]\n') | 477 hgrc.write('[inotify]\n') |
478 hgrc.write('pidfile=%s\n' % DAEMON_PIDS) | 478 hgrc.write('pidfile=%s\n' % DAEMON_PIDS) |
479 hgrc.write('appendpid=True\n') | |
479 hgrc.close() | 480 hgrc.close() |
480 | 481 |
481 err = os.path.join(TESTDIR, test+".err") | 482 err = os.path.join(TESTDIR, test+".err") |
482 ref = os.path.join(TESTDIR, test+".out") | 483 ref = os.path.join(TESTDIR, test+".out") |
483 testpath = os.path.join(TESTDIR, test) | 484 testpath = os.path.join(TESTDIR, test) |