test: mark TEST-46-HOMED as skipped if feature is disabled

See https://github.com/systemd/systemd/pull/21253#issuecomment-995721856
This commit is contained in:
Michael Biebl 2021-12-16 19:32:01 +01:00 committed by Luca Boccassi
parent 85e3a3a832
commit 5c18815dc0

View file

@ -5,7 +5,7 @@ set -o pipefail
# Check if homectl is installed, and if it isn't bail out early instead of failing
if ! test -x /usr/bin/homectl ; then
echo OK >/testok
echo "no homed" >/skipped
exit 0
fi