Patchwork test-https: kill only hgweb daemon to restart for client-auth test

login
register
mail settings
Submitter Yuya Nishihara
Date June 4, 2015, 10:57 p.m.
Message ID <065b0f8e5d8068348d67.1433458647@mimosa>
Download mbox | patch
Permalink /patch/9492/
State Accepted
Commit 51e7acc34b0ab0e540dffdb22127914f2353d5e2
Headers show

Comments

Yuya Nishihara - June 4, 2015, 10:57 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1433458146 -32400
#      Fri Jun 05 07:49:06 2015 +0900
# Node ID 065b0f8e5d8068348d67b35fdb5d4eb367dec75c
# Parent  c0995cd8ff6fdc44ff20835e005771f08452a353
test-https: kill only hgweb daemon to restart for client-auth test

This avoids a test failure on Mac OS X. Because tinyproxy.py isn't detached
from the shell, it may complain that a child process is terminated by singal.
Matt Mackall - June 4, 2015, 11:10 p.m.
On Fri, 2015-06-05 at 07:57 +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # Date 1433458146 -32400
> #      Fri Jun 05 07:49:06 2015 +0900
> # Node ID 065b0f8e5d8068348d67b35fdb5d4eb367dec75c
> # Parent  c0995cd8ff6fdc44ff20835e005771f08452a353
> test-https: kill only hgweb daemon to restart for client-auth test

Queued for default, thanks.

Patch

diff --git a/tests/test-https.t b/tests/test-https.t
--- a/tests/test-https.t
+++ b/tests/test-https.t
@@ -346,7 +346,7 @@  Test https with cert problems through pr
   [255]
 
 
-  $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
+  $ "$TESTDIR/killdaemons.py" hg0.pid
 
 #if sslcontext