mirror of
https://github.com/systemd/systemd
synced 2024-10-15 20:45:09 +00:00
TEST-17-UDEV: Skip credentials test if service not loaded
It does not appear to exist on OpenSUSE yet.
This commit is contained in:
parent
6e40124efb
commit
8ccba68cb5
|
@ -4,6 +4,11 @@
|
|||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
if [[ $(systemctl is-enabled systemd-udev-load-credentials.service) == not-found ]]; then
|
||||
echo "Missing systemd-udev-load-credentials.service" >>/skipped
|
||||
exit 0
|
||||
fi
|
||||
|
||||
at_exit() {
|
||||
rm -f /run/credstore/udev.*
|
||||
rm -f /run/udev/udev.conf.d/*
|
||||
|
|
Loading…
Reference in a new issue