test/check_ostree: fix check of custom systemd unit override
Fedora 38 contains a global override for all units, thus checking for equality no longer works. Instead, this commit just checks whether the override is included. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
a4719c6b3b
commit
feaa093ef0
1 changed files with 1 additions and 1 deletions
|
|
@ -1016,7 +1016,7 @@
|
||||||
- name: Check that 'custom.service' was overridden by drop-in
|
- name: Check that 'custom.service' was overridden by drop-in
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- result_custom_service.status['DropInPaths'] == "/etc/systemd/system/custom.service.d/override.conf"
|
- "'/etc/systemd/system/custom.service.d/override.conf' in result_custom_service.status['DropInPaths']"
|
||||||
fail_msg: "Service 'custom.service' was not overridden by drop-in"
|
fail_msg: "Service 'custom.service' was not overridden by drop-in"
|
||||||
success_msg: "Service 'custom.service' was overridden by drop-in"
|
success_msg: "Service 'custom.service' was overridden by drop-in"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue