From ae92a9714744bbf92fe69ffe276a668b031a6d26 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 18 Sep 2023 18:05:27 +0200 Subject: [PATCH 3/3] ci: add test for poll limit (cherry picked from commit 065e478a4a8cc8e41a6e87756c081396f253e853) --- test/TEST-07-PID1/test.sh | 2 ++ test/units/testsuite-07.poll-limit.sh | 48 +++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100755 test/units/testsuite-07.poll-limit.sh diff --git a/test/TEST-07-PID1/test.sh b/test/TEST-07-PID1/test.sh index 1c3d7137fe..d0e35d870f 100755 --- a/test/TEST-07-PID1/test.sh +++ b/test/TEST-07-PID1/test.sh @@ -32,6 +32,8 @@ Alias=issue2730-alias.mount EOF "${SYSTEMCTL:?}" enable --root="$workspace" issue2730.mount ln -svrf "$workspace/etc/systemd/system/issue2730.mount" "$workspace/etc/systemd/system/issue2730-alias.mount" + + image_install logger } do_test "$@" diff --git a/test/units/testsuite-07.poll-limit.sh b/test/units/testsuite-07.poll-limit.sh new file mode 100755 index 0000000000..480d7ee8df --- /dev/null +++ b/test/units/testsuite-07.poll-limit.sh @@ -0,0 +1,48 @@ +#!/usr/bin/env bash +# SPDX-License-Identifier: LGPL-2.1-or-later +set -eux +set -o pipefail + +systemd-analyze log-level debug + +cat > /run/systemd/system/floodme@.service < /run/systemd/system/floodme.socket <