summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSJ Park <sj@kernel.org>2026-11-02 06:46:26 -0800
committerAndrew Morton <akpm@linux-foundation.org>2026-11-09 22:44:29 -0800
commitc8c47f4072bdcff783cedd5a8565242a212af058 (patch)
tree647d0f8ef9c4be427ff55739925352b6cd78e66a /include/linux
parent9d2cc214935ad78b8f54bf886f0b4e3f387fa44f (diff)
selftests/damon/sysfs_memcg_path_leak: define ksft_skip
sysfs_memcg_path_leak test uses $ksft_skip without defining it. As a result, the test is marked as passed while it was skipped, like below. $ ./sysfs_memcg_path_leak.sh Run as root $ echo $? 0 Users who run the test could therefore wrongly believe the test was run and passed while it was skipped. Define the value at the beginning of the test. After this patch, the exit code reflects the skip. $ ./sysfs_memcg_path_leak.sh Run as root $ echo $? 4 Link: https://lore.kernel.org/20261102144627.88843-4-sj@kernel.org Fixes: dfa3cf0bc018 ("selftets/damon: add a test for memcg_path leak") Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Closes: https://sashiko.dev/#/bug/linux-a0456336-0608-4fec-ac22-0ee61d1d6a91 Reviewed-by: Aveline Noir <jm5905938@gmail.com> Tested-by: Aveline Noir <jm5905938@gmail.com> Cc: Shuah Khan <shuah@kernel.org> Cc: Wang Xiaolei <xiaoleiwangxiaolei@gmail.com> Cc: <stable@vger.kernel.org> # 6.17.x
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions