Mercurial > hg-stable
changeset 52037:521df44118a8
tests: allow optional output when `test-lfs-server` is sent SIGTERM
I guess this has only ever been tested on Windows, but on macOS, the test was
failing with changes like:
+++ /private/tmp/mercurial-ci/tests/test-lfs-test-server.t#git-server.err
@@ -858,6 +858,7 @@
(Restart the server in a different location so it no longer has the content)
$ "$PYTHON" $RUNTESTDIR/killdaemons.py $DAEMON_PIDS
+ $TESTTMP.sh: line 153: 38639 Terminated: 15 lfs-test-server > lfs-server.log 2>&1
#if hg-server
$ cat $TESTTMP/access.log $TESTTMP/errors.log
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 10 Oct 2024 17:52:26 -0400 |
parents | 989967d2f994 |
children | d7e9503c07d2 |
files | tests/test-lfs-test-server.t |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-lfs-test-server.t Wed Oct 09 20:09:33 2024 -0400 +++ b/tests/test-lfs-test-server.t Thu Oct 10 17:52:26 2024 -0400 @@ -858,6 +858,7 @@ (Restart the server in a different location so it no longer has the content) $ "$PYTHON" $RUNTESTDIR/killdaemons.py $DAEMON_PIDS + *Terminated: * (glob) (?) #if hg-server $ cat $TESTTMP/access.log $TESTTMP/errors.log @@ -947,3 +948,5 @@ [50] $ "$PYTHON" $RUNTESTDIR/killdaemons.py $DAEMON_PIDS + *Terminated: * (glob) (?) +