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

This commit is contained in:
Yu Watanabe
2025-01-29 04:58:24 +09:00
parent fce94c5c56
commit 448e99251a
+14
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)" ]]