Home
last modified time | relevance | path

Searched refs:should_fail (Results 126 – 150 of 1014) sorted by relevance

12345678910>>...41

/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/21-types/
H A DArrayRef.t135 should_fail( 1, $ArrayOfInts );
136 should_fail( {}, $ArrayOfInts );
138 should_fail( [ [] ], $ArrayOfInts );
139 should_fail( [ 1.1 ], $ArrayOfInts );
143 should_fail( [ \1 ], $ArrayOfInts );
145 should_fail( [ 1, [] ], $ArrayOfInts );
201 should_fail( 1, $ArrayOfRounded );
202 should_fail( {}, $ArrayOfRounded );
204 should_fail( [ [] ], $ArrayOfRounded );
205 should_fail( [ 1.1 ], $ArrayOfRounded );
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_flower_scale.sh71 local should_fail=$1; shift
86 check_err_fail $should_fail $? "Rule insertion"
92 local should_fail=$1; shift
95 tc_flower_rules_create $count $should_fail
101 …check_err_fail $should_fail $? "Attempt to offload $count rules (actual result $((offload_count - …
107 local should_fail=$1; shift
122 __tc_flower_test $count $should_fail
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_flower_scale.sh71 local should_fail=$1; shift
86 check_err_fail $should_fail $? "Rule insertion"
92 local should_fail=$1; shift
95 tc_flower_rules_create $count $should_fail
101 …check_err_fail $should_fail $? "Attempt to offload $count rules (actual result $((offload_count - …
107 local should_fail=$1; shift
122 __tc_flower_test $count $should_fail
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_flower_scale.sh71 local should_fail=$1; shift
86 check_err_fail $should_fail $? "Rule insertion"
92 local should_fail=$1; shift
95 tc_flower_rules_create $count $should_fail
101 …check_err_fail $should_fail $? "Attempt to offload $count rules (actual result $((offload_count - …
107 local should_fail=$1; shift
122 __tc_flower_test $count $should_fail
/dports/net/librdkafka/librdkafka-1.8.2/tests/
H A D0076-produce_retry.c71 int should_fail) { in do_test_produce_retries() argument
82 idempotence, try_fail, should_fail); in do_test_produce_retries()
88 if (should_fail && in do_test_produce_retries()
114 if (should_fail) { in do_test_produce_retries()
147 if (!should_fail) { in do_test_produce_retries()
156 idempotence, try_fail, should_fail); in do_test_produce_retries()
230 int should_fail) { in do_test_produce_retries_disconnect() argument
241 idempotence, try_fail, should_fail); in do_test_produce_retries_disconnect()
272 if (should_fail) { in do_test_produce_retries_disconnect()
305 should_fail ? -1 : msgcnt, NULL); in do_test_produce_retries_disconnect()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/rdkafka-sys-2.0.0+1.4.2/librdkafka/tests/
H A D0076-produce_retry.c71 int should_fail) { in do_test_produce_retries() argument
82 idempotence, try_fail, should_fail); in do_test_produce_retries()
88 if (should_fail && in do_test_produce_retries()
114 if (should_fail) { in do_test_produce_retries()
147 if (!should_fail) { in do_test_produce_retries()
156 idempotence, try_fail, should_fail); in do_test_produce_retries()
230 int should_fail) { in do_test_produce_retries_disconnect() argument
241 idempotence, try_fail, should_fail); in do_test_produce_retries_disconnect()
272 if (should_fail) { in do_test_produce_retries_disconnect()
305 should_fail ? -1 : msgcnt, NULL); in do_test_produce_retries_disconnect()
[all …]
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/plugins/out_kafka/librdkafka-1.7.0/tests/
H A D0076-produce_retry.c71 int should_fail) { in do_test_produce_retries() argument
82 idempotence, try_fail, should_fail); in do_test_produce_retries()
88 if (should_fail && in do_test_produce_retries()
114 if (should_fail) { in do_test_produce_retries()
147 if (!should_fail) { in do_test_produce_retries()
156 idempotence, try_fail, should_fail); in do_test_produce_retries()
230 int should_fail) { in do_test_produce_retries_disconnect() argument
241 idempotence, try_fail, should_fail); in do_test_produce_retries_disconnect()
272 if (should_fail) { in do_test_produce_retries_disconnect()
305 should_fail ? -1 : msgcnt, NULL); in do_test_produce_retries_disconnect()
[all …]
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/20-unit/Type-Tiny-Duck/
H A Dbasic.t39 should_fail("Foo::Bar"->new, CanFooBaz);
43 should_fail(undef, CanFooBar);
44 should_fail({}, CanFooBar);
45 should_fail(FooBar, CanFooBar);
46 should_fail(FooBaz, CanFooBar);
47 should_fail(CanFooBar, CanFooBar);
48 should_fail("Foo::Bar", CanFooBar);
/dports/security/tthsum/tthsum/
H A Dbase32_test.c32 unsigned uint8len, const char* base32, int should_fail) { in help_cmp_symmetric8() argument
46 || strcmp(base32, base32buf) != 0) == !should_fail) in help_cmp_symmetric8()
47 FAIL2("Values %sdiffer for \"%s\"", should_fail ? "do NOT " : "", name); in help_cmp_symmetric8()
53 unsigned uint64len, const char* base32, int should_fail) { in help_cmp_symmetric64() argument
67 || strcmp(base32, base32buf) != 0) == !should_fail) in help_cmp_symmetric64()
68 FAIL2("Values %sdiffer for \"%s\"", should_fail ? "do NOT " : "", name); in help_cmp_symmetric64()
84 const uint8_t* uint8, unsigned uint8len, int should_fail) { in help_cmp_decode8() argument
92 if (memcmp(uint8, uint8buf, uint8len) == !should_fail) in help_cmp_decode8()
93 FAIL2("Values %sdiffer for \"%s\"", should_fail ? "do NOT " : "", name); in help_cmp_decode8()
H A Descape_test.c27 int should_fail) { in help_cmp_symmetric() argument
38 == !should_fail) in help_cmp_symmetric()
39 FAIL2("Values %sdiffer for \"%s\"", should_fail ? "do NOT " : "", in help_cmp_symmetric()
46 int should_fail) { in help_cmp_unescape() argument
54 if (strcmp(resultbuf, result) == !should_fail) in help_cmp_unescape()
55 FAIL2("Values %sdiffer for \"%s\"", should_fail ? "do NOT " : "", in help_cmp_unescape()
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/
H A D98-param-eg-from-docs.t68 should_fail(1, $MultipleOfThree);
69 should_fail(2, $MultipleOfThree);
71 should_fail(4, $MultipleOfThree);
72 should_fail(5, $MultipleOfThree);
74 should_fail(7, $MultipleOfThree);
75 should_fail(-1, $MultipleOfThree);
77 should_fail(0.1, $MultipleOfThree);
78 should_fail([], $MultipleOfThree);
79 should_fail(undef, $MultipleOfThree);
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/20-unit/Type-Tiny-Role/
H A Dbasic.t38 should_fail("Foo::Bar"->new, DoesQuux);
41 should_fail(undef, DoesQuux);
42 should_fail({}, DoesQuux);
43 should_fail(FooBar, DoesQuux);
44 should_fail(FooBaz, DoesQuux);
45 should_fail(DoesQuux, DoesQuux);
46 should_fail("Quux", DoesQuux);
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/30-integration/MouseX-Types/
H A Dbasic.t45 should_fail({}, $union1);
49 should_fail({}, $union2);
58 should_fail({}, $param1);
59 should_fail(["x"], $param1);
63 should_fail({}, $param2);
64 should_fail(["x"], $param2);
73 should_fail([1.111], $param_union);
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/20-unit/Type-Utils/
H A Ddwim-both.t52 should_fail 2, $mouse;
55 should_fail 45, $mouse;
56 should_fail 99, $mouse;
59 should_fail 2, $moose;
60 should_fail 5, $moose;
61 should_fail 40, $moose;
63 should_fail 99, $moose;
H A Ddwim-mouse.t49 should_fail(3, $two);
51 should_fail([2, 3, 2], $twos);
72 should_fail(4, $three);
74 should_fail([3, 4, 3], $threes);
80 should_fail(bless({}, 'main'), $fallback);
85 should_fail([bless({}, 'main')], $fallbackp);
95 should_fail(bless({}, 'main'), $fallback);
100 should_fail([bless({}, 'main')], $fallbackp);
H A Ddwim-moose.t49 should_fail(3, $two);
51 should_fail([2, 3, 2], $twos);
72 should_fail(4, $three);
74 should_fail([3, 4, 3], $threes);
80 should_fail(bless({}, 'main'), $fallback);
85 should_fail([bless({}, 'main')], $fallbackp);
95 should_fail(bless({}, 'main'), $fallback);
100 should_fail([bless({}, 'main')], $fallbackp);
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/30-integration/MooseX-Types/
H A Dbasic.t45 should_fail({}, $union1);
49 should_fail({}, $union2);
56 should_fail({}, $param1);
57 should_fail(["x"], $param1);
61 should_fail({}, $param2);
62 should_fail(["x"], $param2);
71 should_fail([1.111], $param_union);
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/20-unit/Type-Tiny-Intersection/
H A Dbasic.t71 should_fail("Foo::Bar"->new, FooBarAndDoesQuux);
73 should_fail($something, FooBarAndDoesQuux);
84 should_fail($something_else, FooBarAndDoesQuux);
85 should_fail("Foo::Bar", FooBarAndDoesQuux);
86 should_fail("Foo::Baz", FooBarAndDoesQuux);
101 should_fail(bless({}, "Foo::Baz"), NotherSect);
108 should_fail(20, $SmallEven);
109 should_fail(3, $SmallEven);
/dports/devel/p5-DateTime-Format-Builder/DateTime-Format-Builder-0.83/t/
H A Dcreate.t8 my $should_fail;
14 on_fail => sub { ok( $should_fail, "on_fail called for $_[0]" ) },
15 on_match => sub { ok( !$should_fail, "on_match called for $_[0]" ) },
21 on_fail => sub { ok( $should_fail, "on_fail called for $_[0]" ) },
22 on_match => sub { ok( !$should_fail, "on_match called for $_[0]" ) },
28 on_fail => sub { ok( $should_fail, "on_fail called for $_[0]" ) },
29 on_match => sub { ok( !$should_fail, "on_match called for $_[0]" ) },
35 on_fail => sub { ok( $should_fail, "on_fail called for $_[0]" ) },
44 $should_fail = 0;
56 $should_fail = 1;
[all …]
/dports/math/adept/adept-2.0.8/test/
H A Dtest_arrays.cpp406 should_fail=true; in main()
408 should_fail=false; in main()
419 should_fail = true; in main()
427 should_fail = true; in main()
462 should_fail=true; in main()
464 should_fail=false; in main()
498 should_fail=true; in main()
500 should_fail=false; in main()
540 should_fail = true; in main()
568 should_fail = true; in main()
[all …]
H A Dtest_fixed_arrays.cpp281 should_fail=true; in main()
283 should_fail=false; in main()
344 should_fail = true; in main()
346 should_fail = false; in main()
354 should_fail = true; in main()
402 should_fail = true; in main()
404 should_fail = false; in main()
409 should_fail = true; in main()
411 should_fail = false; in main()
420 should_fail = true; in main()
[all …]
/dports/devel/py-ipyparallel/ipyparallel-6.3.0/examples/
H A Ddependencies.py95 def should_fail(f): function
109 should_fail(r2a.get)
111 should_fail(r2b.get)
113 should_fail(r3.get)
119 should_fail(r4c.get)
123 should_fail(r5b.get)
125 should_fail(r6.get) # assuming > 1 engine
127 should_fail(r6b.get)
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/20-unit/Types-Standard/
H A Dcycletuple.t62 should_fail(undef, $type);
63 should_fail({}, $type);
65 should_fail([{}], $type);
66 should_fail([1], $type);
67 should_fail([1,{}], $type);
69 should_fail([1,{}, [], undef], $type);
70 should_fail([1,{}, [], 2], $type);
/dports/audio/libsndfile/libsndfile-1.0.31/programs/
H A Dtest-sndfile-metadata-set.py57 def _run_command (self, should_fail, cmd): argument
59 if should_fail and not status:
64 if not should_fail and status:
71 def meta_set (self, should_fail, args): argument
72 return self._run_command (should_fail, self.meta_set_prog + " " + args)
74 def meta_get (self, should_fail, args): argument
75 return self._run_command (should_fail, self.meta_get_prog + " " + args)
/dports/devel/p5-Validation-Class/Validation-Class-7.900057/t/
H A D99-toggling-filters-during-execution.t36 my $should_fail = { name => " foo " };
44 !validate_ignoring_filters_1($vsimple, $should_fail),
45 '!validate_ignoring_filters_1($vsimple, $should_fail)',
54 !validate_ignoring_filters_2($vsimple, $should_fail),
55 '!validate_ignoring_filters_2($vsimple, $should_fail)',

12345678910>>...41