tests: allow optional output when `test-lfs-server` is sent SIGTERM
authorMatt Harbison <matt_harbison@yahoo.com>
Thu, 10 Oct 2024 17:52:26 -0400
changeset 52007 521df44118a8
parent 52006 989967d2f994
child 52008 d7e9503c07d2
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
tests/test-lfs-test-server.t
--- 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) (?)
+