TEST-46-HOMED: Simplify service unit
Let's remove the unneeded NotifyAccess=all and start the socket and service in the test itself instead of via the service unit. This makes the test unit identical to the other test units which will allow us to autogenerate it in a later commit.
This commit is contained in:
@@ -3,11 +3,8 @@
|
||||
Description=TEST-46-HOMED
|
||||
Wants=getty-pre.target
|
||||
Before=getty-pre.target
|
||||
Requires=systemd-homed.service systemd-userdbd.socket
|
||||
After=systemd-homed.service systemd-userdbd.socket
|
||||
|
||||
[Service]
|
||||
ExecStartPre=rm -f /failed /testok
|
||||
ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
|
||||
Type=oneshot
|
||||
NotifyAccess=all
|
||||
|
||||
@@ -35,6 +35,8 @@ wait_for_state() {
|
||||
|
||||
FSTYPE="$(stat --file-system --format "%T" /)"
|
||||
|
||||
systemctl start systemd-homed.service systemd-userdbd.socket
|
||||
|
||||
systemd-analyze log-level debug
|
||||
systemctl service-log-level systemd-homed debug
|
||||
|
||||
|
||||
Reference in New Issue
Block a user