[PATCH] run-tests: fix typo in log message
Julien Cristau
jcristau at debian.org
Mon Jul 11 13:42:50 UTC 2022
# HG changeset patch
# User Julien Cristau <jcristau at debian.org>
# Date 1657546880 -7200
# Mon Jul 11 15:41:20 2022 +0200
# Node ID 7c7341e2be5faaa6cf59373844e8d0d6d33e690f
# Parent 259df3e3152c1fbb4d95c2fab682ca93581cf9ca
run-tests: fix typo in log message
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -306,17 +306,17 @@ def Popen4(cmd, wd, timeout, env=None):
p.timeout = False
if timeout:
def t():
start = time.time()
while time.time() - start < timeout and p.returncode is None:
time.sleep(0.1)
p.timeout = True
- vlog('# Timout reached for process %d' % p.pid)
+ vlog('# Timeout reached for process %d' % p.pid)
if p.returncode is None:
terminate(p)
threading.Thread(target=t).start()
return p
More information about the Mercurial-devel
mailing list