From df4566d7be8f8846eaff093065cf5103d5bf52d4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Jun 2017 18:27:11 +0300 Subject: Fix core dump generation in debian unstable in run tests. --- tools/ci/scripts/runtest.sh | 1 - tools/ci/scripts/runtests.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/ci/scripts/runtest.sh b/tools/ci/scripts/runtest.sh index 85286d07e..66cf28b4c 100755 --- a/tools/ci/scripts/runtest.sh +++ b/tools/ci/scripts/runtest.sh @@ -9,7 +9,6 @@ function check_is_run { cp ./src/manaplus ./logs/ cp -r core* ./logs/ sleep 10s - systemd-coredumpctl --output=cored ./src/manaplus || true COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1) if [[ -f "$COREFILE" ]]; then gdb -c "$COREFILE" ./src/manaplus -ex "thread apply all bt" -ex "set pagination 0" -batch diff --git a/tools/ci/scripts/runtests.sh b/tools/ci/scripts/runtests.sh index 6965f1524..b2659c134 100755 --- a/tools/ci/scripts/runtests.sh +++ b/tools/ci/scripts/runtests.sh @@ -9,6 +9,7 @@ export SDL_VIDEODRIVER="dummy" ulimit -c unlimited -S ulimit -c unlimited rm -rf core* +sysctl -w kernel.core_pattern=core export HOME="logs/home" rm -rf $HOME -- cgit v1.2.3-60-g2f50