Searched refs:ATF_CHECK (Results 1 - 14 of 14) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/tests/
H A Dsafe_test.c38 ATF_CHECK(isc_safe_memcmp("test", "test", 4));
39 ATF_CHECK(!isc_safe_memcmp("test", "tesc", 4));
40 ATF_CHECK(isc_safe_memcmp("\x00\x00\x00\x00", "\x00\x00\x00\x00", 4));
41 ATF_CHECK(!isc_safe_memcmp("\x00\x00\x00\x00", "\x00\x00\x00\x01", 4));
42 ATF_CHECK(!isc_safe_memcmp("\x00\x00\x00\x02", "\x00\x00\x00\x00", 4));
H A Dsockaddr_test.c57 ATF_CHECK(h1 != h2);
60 ATF_CHECK(ret == 1);
64 ATF_CHECK(h1 == h3);
65 ATF_CHECK(h2 == h4);
/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dcheck_test.c94 ATF_CHECK(line != NULL);
245 ATF_CHECK(atf_utils_grep_file("-o test.o", "stdout"));
246 ATF_CHECK(atf_utils_grep_file("-c test.c", "stdout"));
250 ATF_CHECK(atf_utils_grep_file("-o test.o", "stdout"));
251 ATF_CHECK(atf_utils_grep_file("-c test.c", "stdout"));
252 ATF_CHECK(atf_utils_grep_file("test.c", "stderr"));
253 ATF_CHECK(atf_utils_grep_file("UNDEFINED_SYMBOL", "stderr"));
266 ATF_CHECK(atf_utils_grep_file("-o.*test.p", "stdout"));
267 ATF_CHECK(atf_utils_grep_file("test.c", "stdout"));
268 ATF_CHECK(atf_utils_grep_fil
[all...]
H A Dconfig_test.c92 ATF_CHECK(strcmp(atf_config_get(v->lc), test_value) != 0);
114 ATF_CHECK(strcmp(atf_config_get(v->lc), test_value) != 0);
123 ATF_CHECK(strlen(atf_config_get(v->lc)) == 0);
125 ATF_CHECK(strlen(atf_config_get(v->lc)) > 0);
H A Dutils_test.c282 ATF_CHECK(atf_utils_grep_file("line1", "test.txt"));
283 ATF_CHECK(atf_utils_grep_file("line%d", "test.txt", 1));
284 ATF_CHECK(atf_utils_grep_file("second line", "test.txt"));
285 ATF_CHECK(atf_utils_grep_file("aa.*bb", "test.txt"));
286 ATF_CHECK(!atf_utils_grep_file("foo", "test.txt"));
287 ATF_CHECK(!atf_utils_grep_file("bar", "test.txt"));
288 ATF_CHECK(!atf_utils_grep_file("aaaaa", "test.txt"));
295 ATF_CHECK(atf_utils_grep_string("a string", str));
296 ATF_CHECK(atf_utils_grep_string("^a string", str));
297 ATF_CHECK(atf_utils_grep_strin
[all...]
H A Dbuild_test.c124 ATF_CHECK(equal_arrays(exp, actual));
131 ATF_CHECK(!equal_arrays(exp, actual));
139 ATF_CHECK(!equal_arrays(exp, actual));
146 ATF_CHECK(equal_arrays(exp, actual));
H A Dmacros_test.c111 H_DEF(check_ ## id, ATF_CHECK(condition))
325 * Test cases for the ATF_CHECK and ATF_CHECK_MSG macros.
336 atf_tc_set_md_var(tc, "descr", "Tests the ATF_CHECK and "
405 ATF_CHECK(exists("before"));
406 ATF_CHECK(exists("after"));
412 ATF_CHECK(atf_utils_grep_file("Check failed: .*"
416 ATF_CHECK(unlink("before") != -1);
417 ATF_CHECK(unlink("after") != -1);
H A Dmacros.h152 #define ATF_CHECK(x) \ macro
/bind-9.6-ESV-R11/lib/dns/tests/
H A Dzonemgr_test.c185 ATF_CHECK(! dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
191 ATF_CHECK(! dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
193 ATF_CHECK(dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
197 ATF_CHECK(! dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
204 ATF_CHECK(dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
207 ATF_CHECK(! dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
211 ATF_CHECK(dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
213 ATF_CHECK(! dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dprocess_test.c98 ATF_CHECK(atf_utils_grep_file("stdout: msg", "stdout"));
99 ATF_CHECK(!atf_utils_grep_file("stderr: msg", "stdout"));
102 ATF_CHECK(atf_utils_grep_file("stderr: msg", "stderr"));
103 ATF_CHECK(!atf_utils_grep_file("stdout: msg", "stderr"));
158 ATF_CHECK(atf_utils_grep_string("stdout: msg", s->m_msg));
159 ATF_CHECK(!atf_utils_grep_string("stderr: msg", s->m_msg));
162 ATF_CHECK(!atf_utils_grep_string("stdout: msg", s->m_msg));
163 ATF_CHECK(atf_utils_grep_string("stderr: msg", s->m_msg));
611 ATF_CHECK(atf_process_status_exited(&s));
613 ATF_CHECK(!atf_process_status_signale
[all...]
H A Dfs_test.c886 ATF_CHECK(!exists(&p));
887 ATF_CHECK(strcmp(atf_fs_path_cstring(&p), "dir/testdir.XXXXXX") == 0);
911 ATF_CHECK(strstr(buf, exp_name) != NULL);
912 ATF_CHECK(strstr(buf, str_mask) != NULL);
958 ATF_CHECK(fd1 != -1);
959 ATF_CHECK(fd2 != -1);
960 ATF_CHECK(write(fd1, "foo", 3) == 3);
961 ATF_CHECK(write(fd2, "bar", 3) == 3);
967 ATF_CHECK( atf_fs_stat_is_owner_readable(&s1));
968 ATF_CHECK( atf_fs_stat_is_owner_writabl
[all...]
H A Dtest_helpers.h43 #define CE(stm) ATF_CHECK(!atf_is_error(stm))
H A Dtest_helpers.c146 ATF_CHECK(atf_process_status_exited(&status));
H A Dlist_test.c253 ATF_CHECK(end1.m_entry != end2.m_entry);
256 ATF_CHECK(atf_list_end_c(&l1).m_entry == end2.m_entry);

Completed in 26 milliseconds