1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-21 02:50:18 +03:00

TEST-07-PID1: add reprudcer for issue #35190

This commit is contained in:
Yu Watanabe 2025-01-27 22:24:16 +09:00
parent fce94c5c56
commit 448e99251a

View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
set -o pipefail
journalctl --sync
TS="$(date '+%H:%M:%S')"
systemd-run -u hogehoge.service sleep infinity
systemctl daemon-reload
systemctl stop hogehoge.service
journalctl --sync
[[ -z "$(journalctl -b -q --since "$TS" -u hogehoge.service -p notice)" ]]