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:
parent
f4c2dc54b4
commit
f66b149742
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue