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:
parent
fce94c5c56
commit
448e99251a
14
test/units/TEST-07-PID1.transient.sh
Executable file
14
test/units/TEST-07-PID1.transient.sh
Executable 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)" ]]
|
Loading…
x
Reference in New Issue
Block a user