Skip to content

Commit

Permalink
tests: c_lib: test exit not _exit
Browse files Browse the repository at this point in the history
Tweak test to test exit and not _exit, as _exit is not a standard
libc function.

Signed-off-by: Kumar Gala <[email protected]>
  • Loading branch information
galak authored and mbolivar-nordic committed May 9, 2023
1 parent f4c2dc5 commit f66b149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/c_lib/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f66b149

Please sign in to comment.