mirror of
https://github.com/systemd/systemd.git
synced 2025-03-08 08:58:27 +03:00
test: add coverage for #26483
This commit is contained in:
parent
4190124b3c
commit
adae3552f0
@ -61,6 +61,9 @@ printf '%b' '[Service]\n' 'ExecStart=\n' 'ExecStart=sleep 10d' >"+4"
|
||||
EDITOR='mv' script -ec 'systemctl edit "$UNIT_NAME"' /dev/null
|
||||
printf '%s\n' '[Service]' 'ExecStart=' 'ExecStart=sleep 10d' | cmp - "/etc/systemd/system/$UNIT_NAME.d/override.conf"
|
||||
|
||||
# Double free when editing a template unit (#26483)
|
||||
EDITOR='true' script -ec 'systemctl edit user@0' /dev/null
|
||||
|
||||
# Argument help
|
||||
systemctl --state help
|
||||
systemctl --signal help
|
||||
|
Loading…
x
Reference in New Issue
Block a user