From: Luca Boccassi Date: Fri, 16 Jun 2023 23:07:32 +0000 (+0100) Subject: TEST-55-OOMD: use 'stress' to create high pressure X-Git-Tag: v254-rc1~112^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=937e82cb7d82dbdbd287d82f4708f15d6032eb9f;p=thirdparty%2Fsystemd.git TEST-55-OOMD: use 'stress' to create high pressure The test fails on my machine, running Debian stable, because testsuite-55-testbloat.service just swaps and never goes over the limit, so it's not killed. Use 'stress' instead which seems to be able to overwhelm the swap too. --- diff --git a/test/TEST-55-OOMD/test.sh b/test/TEST-55-OOMD/test.sh index c6dc92c050f..723e80d1158 100755 --- a/test/TEST-55-OOMD/test.sh +++ b/test/TEST-55-OOMD/test.sh @@ -14,6 +14,8 @@ test_append_files() { mkswap "${LOOPDEV:?}p2" image_install swapon swapoff + inst_binary stress + cat >>"${initdir:?}/etc/fstab" <