Commit f66b1497 authored by Kumar Gala's avatar Kumar Gala Committed by Martí Bolívar
Browse files

tests: c_lib: test exit not _exit



Tweak test to test exit and not _exit, as _exit is not a standard
libc function.

Signed-off-by: default avatarKumar Gala <kumar.gala@intel.com>
parent f4c2dc54
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1211,12 +1211,12 @@ ZTEST(test_c_lib, test_abort)

/**
 *
 * @brief test _exit functions
 * @brief test exit functions
 *
 */
static void exit_program(void *p1, void *p2, void *p3)
{
	_exit(1);
	exit(1);
}

ZTEST(test_c_lib, test_exit)