]> Gentwo Git Trees - linux/.git/commit
selftests/nolibc: fix EXPECT_NZ macro
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 31 Jul 2025 20:12:22 +0000 (22:12 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 1 Sep 2025 18:48:41 +0000 (20:48 +0200)
commit6d33ce3634f99e0c6c9ce9fc111261f2c411cb48
treeb142c1da79c8793fe1c0f748e3654fc2b5012a95
parent4c2ef951cfe68bcd823d59a9e7ef9e3c16aa3974
selftests/nolibc: fix EXPECT_NZ macro

The expect non-zero macro was incorrect and never used. Fix its
definition.

Fixes: 362aecb2d8cfa ("selftests/nolibc: add basic infrastructure to ease creation of nolibc tests")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://lore.kernel.org/r/20250731201225.323254-2-benjamin@sipsolutions.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/testing/selftests/nolibc/nolibc-test.c