selftests/mm: add messages about test errors to the cow tests
authorMark Brown <broonie@kernel.org>
Tue, 10 Jun 2025 14:13:57 +0000 (15:13 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 10 Jul 2025 05:42:04 +0000 (22:42 -0700)
commit4ff52d4a2de1c2adc77b2cca82b542cd916b42a9
treeeab4582c784c09a3aba467e7341fe7a6a70ba3af
parent32dc2d5e3f0de7a62dd85b2ec2be2964449c4796
selftests/mm: add messages about test errors to the cow tests

It is not sufficiently clear what the individual tests in the cow test
program are checking so add messages for the failure cases.

Link: https://lkml.kernel.org/r/20250610-selftest-mm-cow-tweaks-v1-4-43cd7457500f@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Suggested-by: David Hildenbrand <david@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/cow.c