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: Kumar Gala <kumar.gala@intel.com>
This commit is contained in:
Kumar Gala 2023-05-05 09:45:29 -05:00 committed by Marti Bolivar
commit f66b149742

View file

@ -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)