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");
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 length (%zu)", buf_len,
181 ATF_REQUIRE_MSG(strncmp(sbuf_data(sb), test_string, buf_len) == 0,
183 test_string, buf_len);