Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libsbuf/tests/
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); in ATF_TC_BODY()
156 test_sbuf_len, sizeof(test_string)); in ATF_TC_BODY()
192 test_sbuf_len, strlen(test_string)); in ATF_TC_BODY()
199 test_sbuf_len, strlen(test_string)); in ATF_TC_BODY()
204 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string, in ATF_TC_BODY()
206 test_string); in ATF_TC_BODY()
236 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string, in ATF_TC_BODY()
238 test_string); in ATF_TC_BODY()
258 exp_sbuf_len = (ssize_t)(strlen(test_string) + in ATF_TC_BODY()
[all …]
H A Dsbuf_stdio_test.c42 static char test_string[] = "this is a test string"; variable
77 ATF_REQUIRE_EQ_MSG(0, sbuf_cat(sb, test_string), in ATF_TC_BODY()
83 atf_utils_wait(child_proc, 0, test_string, ""); in ATF_TC_BODY()
104 ATF_REQUIRE_EQ_MSG(0, sbuf_cat(sb, test_string), in ATF_TC_BODY()
108 ATF_CHECK_EQ(strlen(test_string), cnt); in ATF_TC_BODY()
111 atf_utils_wait(child_proc, 0, test_string, ""); in ATF_TC_BODY()
123 test_string, MESSAGE_SEPARATOR, test_string); in ATF_TC_BODY()
134 ATF_REQUIRE_MSG(sbuf_printf(sb, MESSAGE_FORMAT, test_string) == 0, in ATF_TC_BODY()
167 atf_utils_wait(child_proc, 0, test_string, ""); in ATF_TC_BODY()
183 test_string, MESSAGE_SEPARATOR, test_string); in ATF_TC_BODY()
[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,
58 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed"); in ATF_TC_BODY()
72 atf_utils_wait(child_proc, 0, test_string, ""); in ATF_TC_BODY()
126 sbuf_cat(sb, test_string); in ATF_TC_BODY()
145 test_string_len = strlen(test_string); in ATF_TC_BODY()
168 char buf[strlen(test_string) + 1]; in ATF_TC_BODY()
174 sbuf_cat(&sb, test_string); in ATF_TC_BODY()
184 atf_utils_wait(child_proc, 0, test_string, ""); in ATF_TC_BODY()
217 test_string_len = strlen(test_string); in ATF_TC_BODY()
[all …]
/freebsd-13.1/crypto/heimdal/base/
H A Dtest_base.c122 test_string(void) in test_string() function
149 res |= test_string(); in main()
/freebsd-13.1/contrib/ntp/libjsmn/
H A Djsmn_test.c163 int test_string() { in test_string() function
593 test(test_string, "test string JSON data types"); in main()