Home
last modified time | relevance | path

Searched refs:test_case (Results 1 – 25 of 90) sorted by relevance

1234

/netbsd/tests/sbin/resize_ffs/
H A Dt_grow.sh40 test_case grow_16M_v0_4096 resize_ffs 4096 512 32768 131072 0 28
41 test_case grow_16M_v0_8192 resize_ffs 8192 1024 32768 131072 0 28
46 test_case grow_24M_v0_4096 resize_ffs 4096 512 49152 65536 0 41
47 test_case grow_24M_v0_8192 resize_ffs 8192 1024 49152 65536 0 42
51 test_case grow_32M_v0_4096 resize_ffs 4096 512 65536 131072 0 55
52 test_case grow_32M_v0_8192 resize_ffs 8192 1024 65536 131072 0 56
56 test_case grow_48M_v0_4096 resize_ffs 4096 512 98304 131072 0 82
68 test_case grow_16M_v1_4096 resize_ffs 4096 512 32768 131072 1 28
74 test_case grow_24M_v1_4096 resize_ffs 4096 512 49152 65536 1 41
75 test_case grow_24M_v1_8192 resize_ffs 8192 1024 49152 65536 1 42
[all …]
H A Dt_grow_swapped.sh40 test_case grow_16M_v0_4096 resize_ffs 4096 512 32768 131072 0 28 swap
41 test_case grow_16M_v0_8192 resize_ffs 8192 1024 32768 131072 0 28 swap
46 test_case grow_24M_v0_4096 resize_ffs 4096 512 49152 65536 0 41 swap
47 test_case grow_24M_v0_8192 resize_ffs 8192 1024 49152 65536 0 42 swap
51 test_case grow_32M_v0_4096 resize_ffs 4096 512 65536 131072 0 55 swap
52 test_case grow_32M_v0_8192 resize_ffs 8192 1024 65536 131072 0 56 swap
56 test_case grow_48M_v0_4096 resize_ffs 4096 512 98304 131072 0 82 swap
68 test_case grow_16M_v1_4096 resize_ffs 4096 512 32768 131072 1 28 swap
74 test_case grow_24M_v1_4096 resize_ffs 4096 512 49152 65536 1 41 swap
75 test_case grow_24M_v1_8192 resize_ffs 8192 1024 49152 65536 1 42 swap
[all …]
H A Dt_shrink.sh38 test_case shrink_24M_16M_v0_4096 resize_ffs 4096 512 49152 32768 0 41
39 test_case shrink_24M_16M_v0_8192 resize_ffs 8192 1024 49152 32768 0 42
43 test_case shrink_32M_24M_v0_4096 resize_ffs 4096 512 65536 49152 0 55
44 test_case shrink_32M_24M_v0_8192 resize_ffs 8192 1024 65536 49152 0 56
48 test_case shrink_48M_16M_v0_4096 resize_ffs 4096 512 98304 32768 0 82
49 test_case shrink_48M_16M_v0_8192 resize_ffs 8192 1024 98304 32768 0 84
59 test_case shrink_24M_16M_v1_4096 resize_ffs 4096 512 49152 32768 1 41
60 test_case shrink_24M_16M_v1_8192 resize_ffs 8192 1024 49152 32768 1 42
64 test_case shrink_32M_24M_v1_4096 resize_ffs 4096 512 65536 49152 1 55
65 test_case shrink_32M_24M_v1_8192 resize_ffs 8192 1024 65536 49152 1 56
[all …]
H A Dt_shrink_swapped.sh38 test_case shrink_24M_16M_v0_4096 resize_ffs 4096 512 49152 32768 0 41 swap
39 test_case shrink_24M_16M_v0_8192 resize_ffs 8192 1024 49152 32768 0 42 swap
43 test_case shrink_32M_24M_v0_4096 resize_ffs 4096 512 65536 49152 0 55 swap
44 test_case shrink_32M_24M_v0_8192 resize_ffs 8192 1024 65536 49152 0 56 swap
48 test_case shrink_48M_16M_v0_4096 resize_ffs 4096 512 98304 32768 0 82 swap
49 test_case shrink_48M_16M_v0_8192 resize_ffs 8192 1024 98304 32768 0 84 swap
59 test_case shrink_24M_16M_v1_4096 resize_ffs 4096 512 49152 32768 1 41 swap
60 test_case shrink_24M_16M_v1_8192 resize_ffs 8192 1024 49152 32768 1 42 swap
64 test_case shrink_32M_24M_v1_4096 resize_ffs 4096 512 65536 49152 1 55 swap
65 test_case shrink_32M_24M_v1_8192 resize_ffs 8192 1024 65536 49152 1 56 swap
[all …]
/netbsd/tests/ipf/
H A Dt_nat_exec.sh63 test_case n1 nattest text text
64 test_case n2 nattest text text
65 test_case n3 nattest text text
66 test_case n4 nattest text text
67 test_case n5 nattest text text
68 test_case n6 nattest text text
69 test_case n7 nattest text text
73 test_case n11 nattest text text
75 test_case n13 nattest text text
76 test_case n14 nattest text text
[all …]
H A Dt_filter_exec.sh111 test_case f1 dotest text text
112 test_case f2 dotest text text
113 test_case f3 dotest text text
114 test_case f4 dotest text text
115 test_case f5 dotest text text
116 test_case f6 dotest text text
117 test_case f7 dotest text text
122 test_case f12 dotest hex hex
123 test_case f13 dotest hex hex
127 test_case f17 mtest hex hex
[all …]
H A Dt_nat_parse.sh40 test_case in1 intest text text
41 test_case in2 intest text text
42 test_case in3 intest text text
43 test_case in4 intest text text
44 test_case in5 intest text text
45 test_case in6 intest text text
46 test_case in7 intest text text
47 test_case in100 intest text text
48 test_case in101 intest text text
49 test_case in102 intest text text
[all …]
H A Dt_filter_parse.sh86 test_case i1 itest text ipf
87 test_case i2 itest text ipf
88 test_case i3 itest text ipf
89 test_case i4 itest text ipf
90 test_case i5 itest text ipf
91 test_case i6 itest text ipf
92 test_case i7 itest text ipf
93 test_case i8 itest text ipf
94 test_case i9 itest text ipf
95 test_case i10 itest text ipf
[all …]
H A Dt_nat_ipf_exec.sh72 test_case ni1 natipftest multi hex hex -T update_ipid=1
73 test_case ni2 natipftest single hex hex -T update_ipid=1
74 test_case ni3 natipftest single hex hex -T update_ipid=1
75 test_case ni4 natipftest single hex hex -T update_ipid=1
76 test_case ni5 natipftest single hex hex -T update_ipid=1
78 test_case ni7 natipftest single hex hex -T update_ipid=1
79 test_case ni8 natipftest single hex hex -T update_ipid=1
88 test_case ni17 natipftest multi text text
89 test_case ni18 natipftest multi text text
92 test_case ni21 natipftest multi text text
[all …]
H A Dt_pools.sh66 test_case f28 ptest text text
67 test_case f29 ptest text text
68 test_case p1 ptest text text
69 test_case p2 ptest text text
70 test_case p3 ptest text text
71 test_case p4 ptest text text
72 test_case p5 ptest text text
73 test_case p6 ptest text text
74 test_case p7 ptest text text
75 test_case p9 ptest text text
[all …]
/netbsd/external/ibm-public/postfix/dist/src/global/
H A Dnormalize_mailhost_addr.c197 TEST_CASE *test_case; in main() local
209 for (tests_failed = 0, test_case = test_cases; test_case->inet_protocols; in main()
215 test_case->exp_mailhost_addr ? in main()
217 test_case->exp_bare_addr ? in main()
223 (int) (test_case - test_cases), in main()
228 if (test_case->exp_return != 0) in main()
230 if (test_case->exp_mailhost_addr in main()
233 (int) (test_case - test_cases), in main()
237 if (test_case->exp_bare_addr in main()
240 (int) (test_case - test_cases), in main()
[all …]
H A Dmap_search.c315 TEST_CASE *test_case; in main() local
332 for (tests_failed = 0, test_case = test_cases; test_case->map_spec; in main()
333 tests_failed += test_failed, test_case++) { in main()
336 (int) (test_case - test_cases), test_case->map_spec); in main()
341 (int) (test_case - test_cases), in main()
348 (int) (test_case - test_cases), "success", in main()
353 if (test_case->exp_return == 0) in main()
358 (int) (test_case - test_cases), in main()
366 (int) (test_case - test_cases), in main()
373 (int) (test_case - test_cases), in main()
[all …]
H A Dhaproxy_srvr.c611 const TEST_CASE *test_case) in evaluate_test_case() argument
627 STR_OR_NULL(test_case->exp_server_addr), in evaluate_test_case()
628 STR_OR_NULL(test_case->exp_client_port), in evaluate_test_case()
629 STR_OR_NULL(test_case->exp_server_port)); in evaluate_test_case()
635 act_req_len = test_case->haproxy_req_len; in evaluate_test_case()
641 if (act_return != test_case->exp_return) { in evaluate_test_case()
643 test_label, STR_OR_NULL(test_case->exp_return), in evaluate_test_case()
648 if (act_req_len != test_case->exp_req_len) { in evaluate_test_case()
655 if (act_non_proxy != test_case->exp_non_proxy) { in evaluate_test_case()
658 test_case->exp_non_proxy, act_non_proxy); in evaluate_test_case()
[all …]
/netbsd/external/bsd/kyua-cli/dist/engine/
H A Dtest_case.cpp163 struct engine::test_case::impl {
229 engine::test_case::test_case(const std::string& interface_name_, in test_case() function in engine::test_case
260 engine::test_case::test_case( in test_case() function in engine::test_case
277 engine::test_case::~test_case(void) in ~test_case()
306 engine::test_case::name(void) const in name()
344 engine::test_case::operator==(const test_case& other) const in operator ==()
356 engine::test_case::operator!=(const test_case& other) const in operator !=()
397 engine::debug_test_case(const test_case* test_case, in debug_test_case() argument
404 if (test_case->fake_result()) in debug_test_case()
460 engine::run_test_case(const test_case* test_case, in run_test_case() argument
[all …]
H A Dtest_case.hpp70 class test_case { class
77 test_case(const std::string&, const test_program&,
79 test_case(const std::string&, const test_program&,
82 ~test_case(void);
90 bool operator==(const test_case&) const;
91 bool operator!=(const test_case&) const;
95 std::ostream& operator<<(std::ostream&, const test_case&);
99 typedef std::shared_ptr< test_case > test_case_ptr;
102 test_result debug_test_case(const test_case*, const utils::config::tree&,
105 test_result run_test_case(const test_case*, const utils::config::tree&,
H A Dtest_program_test.cpp105 ATF_REQUIRE_EQ("main", test_case->name()); in ATF_TEST_CASE_BODY()
143 const engine::test_case test_case("plain", test_program, "main", in ATF_TEST_CASE_BODY() local
146 new engine::test_case(test_case))); in ATF_TEST_CASE_BODY()
164 const engine::test_case_ptr& test_case = test_cases[0]; in ATF_TEST_CASE_BODY() local
165 ATF_REQUIRE_EQ("__test_cases_list__", test_case->name()); in ATF_TEST_CASE_BODY()
167 ATF_REQUIRE(test_case->fake_result()); in ATF_TEST_CASE_BODY()
203 const engine::test_case tc1("plain", base_tp, "main", in ATF_TEST_CASE_BODY()
220 new engine::test_case(tc1))); in ATF_TEST_CASE_BODY()
291 const engine::test_case tc1("atf", base_tp, "foo", in ATF_TEST_CASE_BODY()
333 const engine::test_case_ptr tc1(new engine::test_case( in ATF_TEST_CASE_BODY()
[all …]
H A Dfilters.cpp55 test_case(test_case_) in test_filter()
113 if (!test_case.empty()) in str()
114 return F("%s:%s") % test_program % test_case; in str()
131 return test_case.empty() && test_program.is_parent_of( in contains()
167 return test_case.empty() || test_case == test_case_; in matches_test_case()
183 (test_program == other.test_program && test_case < other.test_case)); in operator <()
195 return test_program == other.test_program && test_case == other.test_case; in operator ==()
256 const std::string& test_case) const in match_test_case()
266 if ((*iter).matches_test_case(test_program, test_case)) in match_test_case()
353 const std::string& test_case) in match_test_case() argument
[all …]
H A Dtest_case_plain_helpers.cpp175 const std::string& test_case = test_case_env.get(); in main() local
177 if (test_case == "crash") in main()
179 else if (test_case == "fail") in main()
181 else if (test_case == "pass") in main()
183 else if (test_case == "spawn_blocking_child") in main()
185 else if (test_case == "timeout") in main()
187 else if (test_case == "validate_isolation") in main()
/netbsd/tests/usr.bin/config/
H A Dt_config.sh114 test_case() function
131 test_case loop pass "Checks correct handling of loops"
132 test_case loop2 pass "Checks correct handling of devices that can be their" \
136 test_case postponed_orphan fail "Checks that config catches adding an" \
148 test_case undefined_opt pass \
157 test_case no_undefined_opt warn \
161 test_case select pass "Attribute selection"
180 test_case no_select pass "Attribute negation"
203 test_case devi pass "Device instance"
228 test_case min pass "Minimal config"
[all …]
/netbsd/tests/lib/librumphijack/
H A Dt_cwd.sh31 test_case() function
47 test_case basic_chdir /rump simple chdir
48 test_case basic_fchdir /rump simple fchdir
49 test_case slash_chdir // simple chdir
50 test_case slash_fchdir // simple fchdir
51 test_case symlink_chdir /rump symlink chdir
52 test_case symlink_fchdir /rump symlink fchdir
53 test_case symlink_slash_chdir // symlink chdir
54 test_case symlink_slash_fchdir // symlink fchdir
/netbsd/tests/lib/libc/misc/
H A Dt_ubsan.c69 test_case(void (*fun)(void), const char *string) in test_case() function
128 test_case(test_add_overflow_signed, " signed integer overflow: "); in UBSAN_TC_BODY()
251 test_case(test_function_type_mismatch, " call to function "); in UBSAN_TC_BODY()
276 test_case(test_invalid_builtin_##type, \
306 test_case(test_load_invalid_value_bool, " load of value "); in UBSAN_TC_BODY()
330 test_case(test_load_invalid_value_enum, " load of value "); in UBSAN_TC_BODY()
360 test_case(test_missing_return, in UBSAN_TC_BODY()
385 test_case(test_mul_overflow_signed, " signed integer overflow: "); in UBSAN_TC_BODY()
431 test_case(test_negate_overflow_signed, " negation of "); in UBSAN_TC_BODY()
452 test_case(test_negate_overflow_unsigned, " negation of "); in UBSAN_TC_BODY()
[all …]
/netbsd/external/bsd/kyua-cli/dist/cli/
H A Dcmd_list_test.cpp51 const engine::test_case test_case("mock", test_program, "abc", md); in ATF_TEST_CASE_BODY() local
54 cli::detail::list_test_case(&ui, false, test_case); in ATF_TEST_CASE_BODY()
67 const engine::test_case test_case("mock", test_program, "my_name", md); in ATF_TEST_CASE_BODY() local
70 cli::detail::list_test_case(&ui, true, test_case); in ATF_TEST_CASE_BODY()
87 const engine::test_case test_case("mock", test_program, "my_name", md); in ATF_TEST_CASE_BODY() local
90 cli::detail::list_test_case(&ui, true, test_case); in ATF_TEST_CASE_BODY()
H A Dcmd_list.cpp79 got_test_case(const engine::test_case& test_case) in got_test_case() argument
81 cli::detail::list_test_case(_ui, _verbose, test_case); in got_test_case()
96 const engine::test_case& test_case) in list_test_case() argument
98 const std::string id = format_test_case_id(test_case); in list_test_case()
103 test_case.container_test_program().test_suite_name()); in list_test_case()
110 const engine::metadata& test_md = test_case.get_metadata(); in list_test_case()
H A Dcmd_report_html.cpp100 test_case_filename(const engine::test_case& test_case) in test_case_filename() argument
104 std::string name = cli::format_test_case_id(test_case); in test_case_filename()
171 add_to_summary(const engine::test_case& test_case, in add_to_summary() argument
212 cli::format_test_case_id(test_case)); in add_to_summary()
214 test_case_filename(test_case)); in add_to_summary()
314 const engine::test_case& test_case = *test_program->find( in got_result() local
319 add_to_summary(test_case, result, false); in got_result()
323 add_to_summary(test_case, result, true); in got_result()
327 cli::format_test_case_id(test_case)); in got_result()
333 add_map(templates, test_case.get_metadata().to_properties(), in got_result()
[all …]
/netbsd/tests/usr.bin/rump_server/
H A Dt_disk.sh37 test_case() function
55 test_case size -d key=/img,hostpath=the.img,size=32k
61 test_case offset -d key=/img,hostpath=the.img,size=32k,offset=16k
67 test_case notrunc -d key=/img,hostpath=the.img,size=8k,offset=16k
77 test_case data -d key=/img,hostpath=the.img,size=8k,offset=16k
91 test_case type_chr -d key=/img,hostpath=the.img,size=32k,type=chr
98 test_case type_reg -d key=/img,hostpath=the.img,size=32k,type=reg
105 test_case type_blk -d key=/img,hostpath=the.img,size=32k,type=blk
112 test_case type_blk_default -d key=/img,hostpath=the.img,size=32k

1234