[PATCH] tests: arrange for a server in wireproto-command-capabilities.t to be killed

Matt Harbison mharbison72 at gmail.com
Tue Apr 17 03:41:10 UTC 2018


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1523936370 14400
#      Mon Apr 16 23:39:30 2018 -0400
# Node ID f31defc97cfbf6373bb756dc8af672ca3b959f1e
# Parent  886754323bede9e79da8f05335458af63c377668
tests: arrange for a server in wireproto-command-capabilities.t to be killed

The stray servers were piling up after the test harness exited.  On Windows,
this means the *.pyd files can't be rebuilt, which is why the build warning
count dropped to 1 recently.

diff --git a/tests/test-wireproto-command-capabilities.t b/tests/test-wireproto-command-capabilities.t
--- a/tests/test-wireproto-command-capabilities.t
+++ b/tests/test-wireproto-command-capabilities.t
@@ -142,6 +142,7 @@ Restart server to enable HTTPv2
   $ killdaemons.py
   $ enablehttpv2 server
   $ hg -R server serve -p $HGPORT -d --pid-file hg.pid -E error.log
+  $ cat hg.pid > $DAEMON_PIDS
 
 Only requested API services are returned
 


More information about the Mercurial-devel mailing list