1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-06 13:17:44 +03:00
systemd-stable/test/TEST-32-OOMPOLICY/test.sh

23 lines
383 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2019-03-19 21:54:46 +03:00
set -e
TEST_DESCRIPTION="test OOM killer logic"
TEST_NO_NSPAWN=1
. $TEST_BASE_DIR/test-functions
UNIFIED_CGROUP_HIERARCHY=yes
test_setup() {
create_empty_image_rootdir
2019-03-19 21:54:46 +03:00
(
LOG_LEVEL=5
eval $(udevadm info --export --query=env --name=${LOOPDEV}p2)
setup_basic_environment
mask_supporting_services
)
2019-03-19 21:54:46 +03:00
}
do_test "$@" 32