From: Daan De Meyer Date: Sun, 5 May 2024 08:39:32 +0000 (+0200) Subject: TEST-55-OOMD: Skip on opensuse X-Git-Tag: v256-rc2~97^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f5095ff744d5362f09458e049952868ffc2daa7;p=thirdparty%2Fsystemd.git TEST-55-OOMD: Skip on opensuse opensuse does not have the stress tool packaged. --- diff --git a/test/units/testsuite-55.sh b/test/units/testsuite-55.sh index e803ea89c43..5bc0eaec75e 100755 --- a/test/units/testsuite-55.sh +++ b/test/units/testsuite-55.sh @@ -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