diff options
author | Mark Brown <broonie@kernel.org> | 2025-02-12 20:44:25 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-02-18 09:40:04 +0300 |
commit | 5dcf52e2ce0fe3c4516b1e494c1af6d3a69e30e7 (patch) | |
tree | b8ff060c9d3e7578194d3ecdc4fc19d70b5d842c /scripts/generate_rust_analyzer.py | |
parent | 6d7bc938adca9024a6b51cf55d9b0542b653b69c (diff) | |
download | linux-5dcf52e2ce0fe3c4516b1e494c1af6d3a69e30e7.tar.xz |
selftests/mm: fix check for running THP tests
When testing if we should try to compact memory or drop caches before we
run the THP or HugeTLB tests we use | as an or operator. This doesn't
work since run_vmtests.sh is written in shell where this is used to pipe
the output of the first argument into the second. Instead use the shell's
-o operator.
Link: https://lkml.kernel.org/r/20250212-kselftest-mm-no-hugepages-v1-1-44702f538522@kernel.org
Fixes: b433ffa8dbac ("selftests: mm: perform some system cleanup before using hugepages")
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Nico Pache <npache@redhat.com>
Cc: Mariano Pache <npache@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions