25 len =
snprintf(str, str_len,
"test string");
47 len =
snprintf(str, str_len,
"test string 123");
61 snprintf(str + len, str_len - len,
"4567");
static void torture_test_realloc_set0(void **state)
#define assert_non_null(c)
#define cmocka_unit_test(f)
Initializes a CMUnitTest structure.
static void torture_test_realloc(void **state)
#define test_realloc(ptr, size)
#define assert_string_equal(a, b)
#define cmocka_run_group_tests(group_tests, group_setup, group_teardown)
#define test_malloc(size)
static void torture_test_malloc(void **state)
#define assert_int_equal(a, b)