diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2021-01-24 01:34:23 -0800 |
---|---|---|
committer | Anita Zhang <the.anitazha@gmail.com> | 2021-01-24 02:03:59 -0800 |
commit | 2e744a2cd89fc0ea67cf78cfba617b5105a26215 (patch) | |
tree | 44dc12ec791ea62518cfa9e8f503bb61b04e9081 /test/units/testsuite-56.sh | |
parent | 924c89e9fe95d47b6ad94544bfdd5f087646daea (diff) | |
download | systemd-2e744a2cd89fc0ea67cf78cfba617b5105a26215.tar.gz |
oom: update extended test to remove swap gating
Diffstat (limited to 'test/units/testsuite-56.sh')
-rwxr-xr-x | test/units/testsuite-56.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/units/testsuite-56.sh b/test/units/testsuite-56.sh index 6e7941a57f..4dc9d8c7a8 100755 --- a/test/units/testsuite-56.sh +++ b/test/units/testsuite-56.sh @@ -6,7 +6,6 @@ systemd-analyze log-level debug systemd-analyze log-target console # Loose checks to ensure the environment has the necessary features for systemd-oomd -[[ "$( awk '/SwapTotal/ { print $2 }' /proc/meminfo )" != "0" ]] || echo "no swap" >> /skipped [[ -e /proc/pressure ]] || echo "no PSI" >> /skipped cgroup_type=$(stat -fc %T /sys/fs/cgroup/) if [[ "$cgroup_type" != *"cgroup2"* ]] && [[ "$cgroup_type" != *"0x63677270"* ]]; then @@ -16,8 +15,8 @@ fi echo "DefaultMemoryPressureDurationSec=5s" >> /etc/systemd/oomd.conf -systemctl start testsuite-56-testbloat.service systemctl start testsuite-56-testchill.service +systemctl start testsuite-56-testbloat.service # Verify systemd-oomd is monitoring the expected units oomctl | grep "/testsuite-56-workload.slice" |