TEST-55-OOMD: Skip on opensuse

opensuse does not have the stress tool packaged.
This commit is contained in:
Daan De Meyer 2024-05-05 10:39:32 +02:00
parent 9be49de41f
commit 8f5095ff74

View file

@ -6,6 +6,14 @@ set -o pipefail
# shellcheck source=test/units/util.sh
. "$(dirname "$0")"/util.sh
. /etc/os-release
# OpenSUSE does not have the stress tool packaged. It does have stress-ng but the stress-ng does not support
# --vm-stride which this test uses.
if [[ "$ID" =~ "opensuse" ]]; then
echo "Skipping due to missing stress package in OpenSUSE" >>/skipped
exit 77
fi
systemd-analyze log-level debug
# Ensure that the init.scope.d drop-in is applied on boot