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

/freebsd-13-stable/lib/libsbuf/tests/
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),
83 atf_utils_wait(child_proc, 0, test_string, "");
104 ATF_REQUIRE_EQ_MSG(0, sbuf_cat(sb, test_string),
108 ATF_CHECK_EQ(strlen(test_string), cnt);
111 atf_utils_wait(child_proc, 0, test_string, "");
123 test_string, MESSAGE_SEPARATOR, test_string);
130 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed");
134 ATF_REQUIRE_MSG(sbuf_printf(sb, MESSAGE_FORMAT, 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");
72 atf_utils_wait(child_proc, 0, test_string, "");
126 sbuf_cat(sb, test_string);
145 test_string_len = strlen(test_string);
150 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed");
168 char buf[strlen(test_string) + 1];
174 sbuf_cat(&sb, test_string);
242 test_string, buf_len); local
[all...]
/freebsd-13-stable/crypto/heimdal/base/
H A Dtest_base.c122 test_string(void) function
149 res |= test_string();
/freebsd-13-stable/contrib/ntp/libjsmn/
H A Djsmn_test.c163 int test_string() { function
593 test(test_string, "test string JSON data types");

Completed in 97 milliseconds