Searched refs:RE (Results 1 - 16 of 16) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dlist_test.c57 RE(atf_list_init(&list));
78 RE(atf_list_init(&list));
79 RE(atf_list_append(&list, &i1, false));
80 RE(atf_list_append(&list, &i2, false));
81 RE(atf_list_append(&list, &i3, false));
102 RE(atf_list_init(&list));
103 RE(atf_list_append(&list, &i1, false));
104 RE(atf_list_append(&list, &i2, false));
105 RE(atf_list_append(&list, &i3, false));
120 RE(atf_list_ini
[all...]
H A Dtest_helpers.c55 RE(atf_dynstr_init_fmt(&iflag, "-I%s", atf_config_get("atf_includedir")));
62 RE(atf_check_build_c_o(path, "test.o", optargs, &success));
76 RE(atf_fs_path_init_fmt(&path, "%s/%s",
103 RE(atf_fs_path_init_fmt(path, "%s/%sprocess_helpers",
119 RE(atf_tc_run(data->m_tc, data->m_resname));
134 RE(atf_fs_path_init_fmt(&outpath, outname));
135 RE(atf_fs_path_init_fmt(&errpath, errname));
139 RE(atf_process_stream_init_redirect_path(&outb, &outpath));
140 RE(atf_process_stream_init_redirect_path(&errb, &errpath));
141 RE(atf_process_for
[all...]
H A Ddynstr_test.c58 RE(atf_dynstr_init(&str));
71 RE(atf_dynstr_init_ap(str, fmt, ap));
115 RE(atf_dynstr_init_fmt(&str, "String 1"));
119 RE(atf_dynstr_init_fmt(&str, "String %d", 2));
123 RE(atf_dynstr_init_fmt(&str, "%s %d", "String", 3));
127 RE(atf_dynstr_init_fmt(&str, "%s%s%s%s%s%s%s", "This ", "should ",
147 RE(atf_dynstr_init_raw(&str, src, 0));
151 RE(atf_dynstr_init_raw(&str, src, 8));
155 RE(atf_dynstr_init_raw(&str, src + 10, 8));
159 RE(atf_dynstr_init_ra
[all...]
H A Denv_test.c80 RE(atf_text_format(&oldval, "%s", atf_env_get("PATH")));
81 RE(atf_env_set("PATH", "foo-bar"));
87 RE(atf_env_set("_UNDEFINED_VARIABLE_", "foo2-bar2"));
100 RE(atf_env_unset("PATH"));
H A Dmap_test.c57 RE(atf_map_init(&map));
67 RE(atf_map_init_charpp(&map, NULL));
78 RE(atf_map_init_charpp(&map, array));
90 RE(atf_map_init_charpp(&map, array));
133 RE(atf_map_init(&map));
134 RE(atf_map_insert(&map, "K1", val1, false));
135 RE(atf_map_insert(&map, "K2", val2, false));
171 RE(atf_map_init(&map));
172 RE(atf_map_insert(&map, "K1", val1, false));
173 RE(atf_map_inser
[all...]
H A Dtext_test.c148 RE(atf_text_for_each_word("1 2 3", " ", word_count, &cnt));
149 RE(atf_text_for_each_word("1 2 3", " ", word_acum, acum));
155 RE(atf_text_for_each_word("1 2 3", ".", word_count, &cnt));
156 RE(atf_text_for_each_word("1 2 3", ".", word_acum, acum));
162 RE(atf_text_for_each_word("1 2 3 4 5", " ", word_count, &cnt));
163 RE(atf_text_for_each_word("1 2 3 4 5", " ", word_acum, acum));
169 RE(atf_text_for_each_word("1 2.3.4 5", " .", word_count, &cnt));
170 RE(atf_text_for_each_word("1 2.3.4 5", " .", word_acum, acum));
340 RE(atf_text_to_bool("true", &b)); ATF_REQUIRE(b);
341 RE(atf_text_to_boo
[all...]
H A Dfs_test.c136 RE(atf_fs_path_init_fmt(&p, "%s", t->in));
154 RE(atf_fs_path_init_fmt(&str, "foo"));
155 RE(atf_fs_path_copy(&str2, &str));
159 RE(atf_fs_path_append_fmt(&str2, "bar"));
194 RE(atf_fs_path_init_fmt(&p, "%s", t->in));
234 RE(atf_fs_path_init_fmt(&p, "%s", t->in));
274 RE(atf_fs_path_init_fmt(&p, "%s", t->in));
275 RE(atf_fs_path_branch_path(&p, &bp));
313 RE(atf_fs_path_init_fmt(&p, "%s", t->in));
314 RE(atf_fs_path_leaf_nam
[all...]
H A Dprocess_test.c128 RE(atf_process_stream_init_capture(&s->m_base.m_sb));
207 RE(atf_process_stream_init_connect(&s->m_base.m_sb, src_fd, s->m_fd));
243 RE(atf_process_stream_init_inherit(&s->m_base.m_sb));
334 RE(atf_process_stream_init_redirect_fd(&s->m_base.m_sb, s->m_fd));
369 RE(atf_fs_path_init_fmt(&s->m_path, "stdout"));
372 RE(atf_fs_path_init_fmt(&s->m_path, "stderr"));
379 RE(atf_process_stream_init_redirect_path(&s->m_base.m_sb, &s->m_path));
425 RE(atf_process_fork(&child, child_print, outfs->m_sb_ptr,
431 RE(atf_process_child_wait(&child, &status));
453 RE(atf_process_stream_init_captur
[all...]
H A Dsanity_test.c104 RE(atf_process_stream_init_inherit(&outsb));
105 RE(atf_process_stream_init_capture(&errsb));
106 RE(atf_process_fork(&child, do_test_child, &outsb, &errsb, &td));
117 RE(atf_process_child_wait(&child, &status));
H A Dtest_helpers.h44 #define RE(stm) ATF_REQUIRE(!atf_is_error(stm)) macro
/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dtc_test.c67 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty),
73 RE(atf_tc_init(&tc, "test2", ATF_TC_HEAD_NAME(test_var),
101 RE(atf_tc_init_pack(&tc, &tcp1, NULL));
106 RE(atf_tc_init_pack(&tc, &tcp2, NULL));
122 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty),
125 RE(atf_tc_set_md_var(&tc, "test-var", "Test value"));
143 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty),
149 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty),
H A Dbuild_test.c105 RE(atf_env_set(var, val));
175 RE(atf_build_c_o(test->sfile, test->ofile, test->optargs,
178 RE(atf_build_c_o(test->sfile, test->ofile, NULL, &argv));
204 RE(atf_build_cpp(test->sfile, test->ofile, test->optargs,
207 RE(atf_build_cpp(test->sfile, test->ofile, NULL, &argv));
234 RE(atf_build_cxx_o(test->sfile, test->ofile, test->optargs,
237 RE(atf_build_cxx_o(test->sfile, test->ofile, NULL, &argv));
H A Dcheck_test.c64 RE(atf_check_exec_array(argv, r));
84 RE(atf_check_exec_array(argv, r));
117 RE(atf_check_build_c_o("test.c", "test.o", NULL, &success));
135 RE(atf_check_build_c_o("test.c", "test.o", NULL, &success));
150 RE(atf_fs_path_init_fmt(&test_p, "test.p"));
158 RE(atf_check_build_cpp("test.c", atf_fs_path_cstring(&test_p), NULL,
179 RE(atf_check_build_cpp("test.c", "test.p", NULL, &success));
197 RE(atf_check_build_cxx_o("test.cpp", "test.o", NULL, &success));
215 RE(atf_check_build_cxx_o("test.cpp", "test.o", NULL, &success));
230 RE(atf_tc_init_pac
[all...]
H A Dconfig_test.c77 RE(atf_env_unset(v->uc));
120 RE(atf_env_set(v->uc, ""));
132 RE(atf_env_set(v->uc, test_value));
H A Dmacros_test.c59 RE(atf_fs_path_init_fmt(&p, "%s", name));
72 RE(atf_fs_path_init_fmt(&pp, "%s", p));
73 RE(atf_fs_exists(&pp, &b));
87 RE(atf_tc_init(&tc, name, head, body, NULL, config));
/bind-9.6-ESV-R11/unit/atf-src/test-programs/
H A Dc_helpers.c170 RE(atf_text_format(&nofile, "%s.no",
401 RE(atf_fs_path_init_fmt(&p, "%s/datafile",
403 RE(atf_fs_exists(&p, &b));

Completed in 29 milliseconds