Lines Matching refs:test_string
42 static char test_string[] = "this is a test string";
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);
184 atf_utils_wait(child_proc, 0, test_string, "");
214 ATF_REQUIRE_MSG(sbuf_cat(sb, test_string) == 0, "sbuf_cat failed");
217 test_string_len = strlen(test_string);
220 "sbuf length (%zd) != test_string length (%zu)", buf_len,
240 ATF_REQUIRE_MSG(strncmp(sbuf_data(sb), test_string, buf_len) == 0,
242 test_string, buf_len);