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:
Daan De Meyer 2024-05-14 09:20:21 +02:00
parent f6af2976aa
commit 20e94309a7
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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