diff --git a/test/units/testsuite-74.bootctl.sh b/test/units/testsuite-74.bootctl.sh index 61373b506e..4be7bfd0b8 100755 --- a/test/units/testsuite-74.bootctl.sh +++ b/test/units/testsuite-74.bootctl.sh @@ -13,6 +13,11 @@ if ! command -v bootctl >/dev/null; then exit 0 fi +if [[ ! -d /usr/lib/systemd/boot/efi ]]; then + echo "sd-boot is not installed, skipping." + exit 0 +fi + # shellcheck source=test/units/util.sh . "$(dirname "$0")"/util.sh