mirror of
https://github.com/systemd/systemd
synced 2024-10-15 20:45:09 +00:00
TEST-55-OOMD: Skip on opensuse
opensuse does not have the stress tool packaged.
This commit is contained in:
parent
9be49de41f
commit
8f5095ff74
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue