# HG changeset patch # User Matt Harbison <matt_harbison@yahoo.com> # Date 1728597146 14400 # Thu Oct 10 17:52:26 2024 -0400 # Node ID 521df44118a8424d75d6df63f28cebc6862f80a1 # Parent 989967d2f99487bb93a3dcc8b0ed4ac06933c6f9 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 diff --git a/tests/test-lfs-test-server.t b/tests/test-lfs-test-server.t --- a/tests/test-lfs-test-server.t +++ b/tests/test-lfs-test-server.t @@ -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) (?) +