Home
last modified time | relevance | path

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

/freebsd-12.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
69 test_string, MESSAGE_SEPARATOR, test_string); in ATF_TC_BODY()
76 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed"); in ATF_TC_BODY()
80 ATF_REQUIRE_MSG(sbuf_printf(sb, MESSAGE_FORMAT, test_string) == 0, in ATF_TC_BODY()
105 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed"); in ATF_TC_BODY()
112 atf_utils_wait(child_proc, 0, test_string, ""); in ATF_TC_BODY()
128 test_string, MESSAGE_SEPARATOR, test_string); in ATF_TC_BODY()
135 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed"); in ATF_TC_BODY()
139 rc = sbuf_vprintf_helper(sb, MESSAGE_FORMAT, test_string); in ATF_TC_BODY()
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()
69 atf_utils_wait(child_proc, 0, test_string, ""); in ATF_TC_BODY()
114 test_string_len = strlen(test_string); in ATF_TC_BODY()
119 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed"); in ATF_TC_BODY()
155 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed"); in ATF_TC_BODY()
158 test_string_len = strlen(test_string); in ATF_TC_BODY()
181 ATF_REQUIRE_MSG(strncmp(sbuf_data(sb), test_string, buf_len) == 0, in ATF_TC_BODY()
183 test_string, buf_len); in ATF_TC_BODY()
/freebsd-12.1/crypto/heimdal/base/
H A Dtest_base.c122 test_string(void) in test_string() function
149 res |= test_string(); in main()
/freebsd-12.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()