diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:42 +0000 |
commit | 78e9bb837c258ac0ec7712b3d612cc2f407e731e (patch) | |
tree | f515d16b6efd858a9aeb5b0ef5d6f90bf288283d /test/units/testsuite-07.issue-14566.sh | |
parent | Adding debian version 255.5-1. (diff) | |
download | systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.tar.xz systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.zip |
Merging upstream version 256.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/units/testsuite-07.issue-14566.sh')
-rwxr-xr-x | test/units/testsuite-07.issue-14566.sh | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test/units/testsuite-07.issue-14566.sh b/test/units/testsuite-07.issue-14566.sh deleted file mode 100755 index d4be5b5..0000000 --- a/test/units/testsuite-07.issue-14566.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env bash -# SPDX-License-Identifier: LGPL-2.1-or-later -set -eux -set -o pipefail - -# Test that KillMode=mixed does not leave left over processes with ExecStopPost= -# Issue: https://github.com/systemd/systemd/issues/14566 - -if [[ -n "${ASAN_OPTIONS:-}" ]]; then - # Temporarily skip this test when running with sanitizers due to a deadlock - # See: https://bugzilla.redhat.com/show_bug.cgi?id=2098125 - echo "Sanitizers detected, skipping the test..." - exit 0 -fi - -systemctl start issue14566-repro -sleep 4 -systemctl status issue14566-repro - -leaked_pid=$(cat /leakedtestpid) - -systemctl stop issue14566-repro -sleep 4 - -# Leaked PID will still be around if we're buggy. -# I personally prefer to see 42. -ps -p "$leaked_pid" && exit 42 - -exit 0 |