Searched refs:test_string_tmp (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/lib/libsbuf/tests/
H A Dsbuf_stdio_test.c117 char *test_string_tmp; local
119 asprintf(&test_string_tmp, "%s%c" MESSAGE_FORMAT,
121 ATF_REQUIRE_MSG(test_string_tmp != NULL, "asprintf failed");
137 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string_tmp, local
139 test_string_tmp); local
143 free(test_string_tmp);
176 char *test_string_tmp; local
179 asprintf(&test_string_tmp, "%s%c" MESSAGE_FORMAT,
181 ATF_REQUIRE_MSG(test_string_tmp != NULL, "asprintf failed");
197 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string_tmp, local
199 test_string_tmp); local
[all...]
H A Dsbuf_string_test.c138 char *test_string_tmp; local
141 asprintf(&test_string_tmp, "%s%s", test_string, test_string);
142 ATF_REQUIRE_MSG(test_string_tmp != NULL, "asprintf failed");
158 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)strlen(test_string_tmp),
160 test_sbuf_len, strlen(test_string_tmp));
165 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string_tmp, local
167 test_string_tmp); local
171 free(test_string_tmp);

Completed in 160 milliseconds