mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03: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 New Issue
Block a user