Skip to content

Commit f66b149

Browse files
galakmbolivar-nordic
authored andcommitted
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 <[email protected]>
1 parent f4c2dc5 commit f66b149

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/c_lib/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,12 +1211,12 @@ ZTEST(test_c_lib, test_abort)
12111211

12121212
/**
12131213
*
1214-
* @brief test _exit functions
1214+
* @brief test exit functions
12151215
*
12161216
*/
12171217
static void exit_program(void *p1, void *p2, void *p3)
12181218
{
1219-
_exit(1);
1219+
exit(1);
12201220
}
12211221

12221222
ZTEST(test_c_lib, test_exit)

0 commit comments

Comments
 (0)