Searched refs:test_string (Results 1 - 5 of 5) sorted by relevance

/freebsd-11-stable/lib/libsbuf/tests/
H A Dsbuf_stdio_test.c42 static char test_string[] = "this is a test string"; variable
69 test_string, MESSAGE_SEPARATOR, test_string);
76 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed");
80 ATF_REQUIRE_MSG(sbuf_printf(sb, MESSAGE_FORMAT, test_string) == 0,
105 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed");
112 atf_utils_wait(child_proc, 0, test_string, "");
128 test_string, MESSAGE_SEPARATOR, test_string);
135 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string)
[all...]
H A Dsbuf_string_test.c41 static char test_string[] = "this is a test string"; variable
144 asprintf(&test_string_tmp, "%s%s", test_string, test_string);
151 ATF_CHECK_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed");
154 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)strlen(test_string),
156 test_sbuf_len, sizeof(test_string));
158 ATF_CHECK_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed");
187 ATF_CHECK_MSG(sbuf_cpy(sb, test_string) == 0, "sbuf_cpy failed");
190 ATF_REQUIRE_MSG(test_sbuf_len == (ssize_t)strlen(test_string),
192 test_sbuf_len, strlen(test_string));
204 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string, local
206 test_string); local
236 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string, local
238 test_string); local
270 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string, local
272 test_string); local
[all...]
H A Dsbuf_core_test.c42 static char test_string[] = "this is a test string"; variable
44 _Static_assert(nitems(test_string) > TEST_STRING_CHOP_COUNT,
45 "test_string is too short");
58 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed");
69 atf_utils_wait(child_proc, 0, test_string, "");
114 test_string_len = strlen(test_string);
119 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed");
155 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed");
158 test_string_len = strlen(test_string);
161 "sbuf length (%zd) != test_string lengt
183 test_string, buf_len); local
[all...]
/freebsd-11-stable/crypto/heimdal/base/
H A Dtest_base.c122 test_string(void) function
149 res |= test_string();
/freebsd-11-stable/contrib/ntp/libjsmn/
H A Djsmn_test.c163 int test_string() { function
593 test(test_string, "test string JSON data types");

Completed in 133 milliseconds