Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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/[email protected] Fixes: b433ffa ("selftests: mm: perform some system cleanup before using hugepages") Signed-off-by: Mark Brown <[email protected]> Reviewed-by: Nico Pache <[email protected]> Cc: Mariano Pache <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
- Loading branch information