[PATCH master 3/3] test: self: mmu: fix message on skipping tests

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Jan 3 02:13:44 PST 2024


The message currently reads:

  "skipping CONFIG_ARCH_HAS_DATA_ABORT_MASK because test_zero_page=n\n"

when it should be the other way round. Fix that.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 test/self/mmu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/self/mmu.c b/test/self/mmu.c
index 58961daaab95..dbe5004550a8 100644
--- a/test/self/mmu.c
+++ b/test/self/mmu.c
@@ -207,8 +207,8 @@ static void test_zero_page(void)
 	total_tests += 3;
 
 	if (!IS_ENABLED(CONFIG_ARCH_HAS_DATA_ABORT_MASK)) {
-		pr_info("skipping %s because %s=n\n",
-			"CONFIG_ARCH_HAS_DATA_ABORT_MASK", __func__);
+		pr_info("skipping %s because CONFIG_ARCH_HAS_DATA_ABORT_MASK=n\n",
+			__func__);
 		skipped_tests += 3;
 		return;
 	}
-- 
2.39.2




More information about the barebox mailing list