summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2023-10-30 15:22:05 +0100
committerRuediger Pluem <rpluem@apache.org>2023-10-30 15:22:05 +0100
commit1cee2017b06fe1b2f659cc7690799a17bb3d33fe (patch)
treebfa6d7e921294c26f6aa3704ca8d5ce2f4548c2d /test
parent* Document r1912459. [skip ci] (diff)
downloadapache2-1cee2017b06fe1b2f659cc7690799a17bb3d33fe.tar.xz
apache2-1cee2017b06fe1b2f659cc7690799a17bb3d33fe.zip
* Systemd based systems might process core dumps via systemd-coredump.
But we want to have local unprocessed files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913437 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rwxr-xr-xtest/travis_run_linux.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/travis_run_linux.sh b/test/travis_run_linux.sh
index dcc835443d..29b7e7c274 100755
--- a/test/travis_run_linux.sh
+++ b/test/travis_run_linux.sh
@@ -113,6 +113,9 @@ if ! test -v SKIP_TESTING; then
# Try to keep all potential coredumps from all processes
sudo sysctl -w kernel.core_uses_pid=1 2>/dev/null || true
+ # Systemd based systems might process core dumps via systemd-coredump.
+ # But we want to have local unprocessed files.
+ sudo sysctl -w kernel.core_pattern=core || true
ulimit -c unlimited 2>/dev/null || true
if ! test -v NO_TEST_FRAMEWORK; then