[PATCH] tests: test-run-tests: clean up inuse server eagerly

timeless timeless at gmail.com
Sun Jun 5 13:18:47 EDT 2016


Stray processes don't get killed well when I use ^C. I end up with a whole
bunch of daemons just sitting around on gcc112... Also often my session
used to get disconnected in bad ways which tended to leave servers around...
On Jun 3, 2016 10:31 PM, "Augie Fackler" <raf at durin42.com> wrote:

On Fri, Jun 03, 2016 at 02:11:56PM +0000, timeless wrote:
> # HG changeset patch
> # User timeless <timeless at mozdev.org>
> # Date 1462980025 0
> #      Wed May 11 15:20:25 2016 +0000
> # Node ID cb9eb592d4d3fa8f73b52dfc67f13e67da262f41
> # Parent  bee3ca724aab40d85f2899b371a408b721b5eb9b
> # EXP-Topic runtests
> # Available At https://bitbucket.org/timeless/mercurial-crew
> #              hg pull https://bitbucket.org/timeless/mercurial-crew -r
cb9eb592d4d3
> tests: test-run-tests: clean up inuse server eagerly

OOC, why?

>
> diff -r bee3ca724aab -r cb9eb592d4d3 tests/test-run-tests.t
> --- a/tests/test-run-tests.t  Wed May 11 16:40:16 2016 +0000
> +++ b/tests/test-run-tests.t  Wed May 11 15:20:25 2016 +0000
> @@ -301,6 +301,8 @@
>    .
>    # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
>    $ rm test-serve-inuse.t
> +  $ killdaemons.py $DAEMON_PIDS
> +  $ rm $DAEMON_PIDS
>
>  Running In Debug Mode
>  ======================
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel at mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160605/c71c4161/attachment.html>


More information about the Mercurial-devel mailing list