selftests/mm: soft-dirty should fail if a testcase fails
Subsystems (3)
PATCH 1/1 selftests/mm: soft-dirty should fail if a testcase fails
Previously soft-dirty was unconditionally exiting with success, even if one of it's testcases failed. Let's fix that so that failure can be reported to automated systems properly.
Reviewed-by Muhammad Usama Anjum <[email protected]>
Reviewed-by David Hildenbrand <[email protected]>
Signed-off-by Ryan Roberts <[email protected]>
---
Applies on top of v6.9-rc3.
I previously sent this out as part of a larger series [1]. Feedback was to repost standalone.
[1] https://lore.kernel.org/all/[email protected]/
Thanks,
Ryan
tools/testing/selftests/mm/soft-dirty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/mm/soft-dirty.c +1 -1
@@ -209,5 +209,5 @@ int main(int argc, char **argv)close (pagemap_fd); -return ksft_exit_pass (); +ksft_finished (); }
--
2.25.1