Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 2985) sorted by relevance

12345678910>>...120

/openbsd-src/regress/lib/libc/fnmatch/
H A Dfnm_test.in7 # 'te\st' 'test'; no match if FNM_NOESCAPE
8 te\st test 0x0 0
9 te\st test 0x1 1
10 te\st test 0x1e 0
19 # 'te\*t' 'test'; no match
20 te\*t test 0x0 1
21 te\*t test 0x1f 1
26 # 'te\?t' 'test'; no match
27 te\?t test 0x0 1
28 te\?t test 0x1f 1
[all …]
/openbsd-src/gnu/llvm/clang/utils/ABITest/
H A DMakefile.test.common3 # Usage: make test.N.report
30 .PHONY: test.%.report
31 test.%.report: temps/test.%.xx.diff temps/test.%.xy.diff temps/test.%.yx.diff temps/test.%.yy.diff
46 .PHONY: test.%.defs-report
47 test.%.defs-report: temps/test.%.defs.diff
55 .PHONY: test.%.build
56 test.%.build: temps/test.%.ref temps/test.%.xx temps/test.%.xy temps/test.%.yx temps/test.%.yy temp…
65 .PRECIOUS: temps/test.%.xx.diff
66 temps/test.%.xx.diff: temps/test.%.ref.out temps/test.%.xx.out
68 .PRECIOUS: temps/test.%.xy.diff
[all …]
/openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/
H A Dtest_result.py76 def _config_string(self, test): argument
77 compiler = getattr(test, "getCompiler", None)
78 arch = getattr(test, "getArchitecture", None)
82 def _exc_info_to_string(self, err, test): argument
85 if hasattr(test, "getArchitecture") and hasattr(test, "getCompiler"):
88 test),
89 test.getArchitecture(),
90 test.getCompiler())
92 return super(LLDBTestResult, self)._exc_info_to_string(err, test)
94 def getDescription(self, test): argument
[all …]
/openbsd-src/gnu/usr.bin/perl/t/base/
H A Dlex.t130 print "ok $test\n"; $test++;
134 print "ok $test\n"; $test++;
142 print "ok $test\n"; $test++;
150 print "ok $test\n"; $test++;
155 print "ok $test\n"; $test++;
163 print "ok $test\n"; $test++;
166 print "ok $test\n"; $test++;
169 print "ok $test\n"; $test++;
172 print "ok $test\n"; $test++;
175 print "ok $test\n"; $test++;
[all …]
/openbsd-src/sys/dev/pci/drm/ttm/tests/
H A Dttm_pool_test.c30 static int ttm_pool_test_init(struct kunit *test) in ttm_pool_test_init() argument
34 priv = kunit_kzalloc(test, sizeof(*priv), GFP_KERNEL); in ttm_pool_test_init()
35 KUNIT_ASSERT_NOT_NULL(test, priv); in ttm_pool_test_init()
37 priv->devs = ttm_test_devices_basic(test); in ttm_pool_test_init()
38 test->priv = priv; in ttm_pool_test_init()
43 static void ttm_pool_test_fini(struct kunit *test) in ttm_pool_test_fini() argument
45 struct ttm_pool_test_priv *priv = test->priv; in ttm_pool_test_fini()
47 ttm_test_devices_put(test, priv->devs); in ttm_pool_test_fini()
50 static struct ttm_tt *ttm_tt_kunit_init(struct kunit *test, in ttm_tt_kunit_init() argument
55 struct ttm_pool_test_priv *priv = test->priv; in ttm_tt_kunit_init()
[all …]
H A Dttm_device_test.c18 static void ttm_device_init_basic(struct kunit *test) in ttm_device_init_basic() argument
20 struct ttm_test_devices *priv = test->priv; in ttm_device_init_basic()
25 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL); in ttm_device_init_basic()
26 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_device_init_basic()
29 KUNIT_ASSERT_EQ(test, err, 0); in ttm_device_init_basic()
31 KUNIT_EXPECT_PTR_EQ(test, ttm_dev->funcs, &ttm_dev_funcs); in ttm_device_init_basic()
32 KUNIT_ASSERT_NOT_NULL(test, ttm_dev->wq); in ttm_device_init_basic()
33 KUNIT_ASSERT_NOT_NULL(test, ttm_dev->man_drv[TTM_PL_SYSTEM]); in ttm_device_init_basic()
36 KUNIT_ASSERT_NOT_NULL(test, ttm_sys_man); in ttm_device_init_basic()
37 KUNIT_EXPECT_TRUE(test, ttm_sys_man->use_tt); in ttm_device_init_basic()
[all …]
H A Dttm_kunit_helpers.c28 struct ttm_buffer_object *ttm_bo_kunit_init(struct kunit *test, in ttm_bo_kunit_init() argument
35 bo = kunit_kzalloc(test, sizeof(*bo), GFP_KERNEL); in ttm_bo_kunit_init()
36 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_bo_kunit_init()
45 struct ttm_test_devices *ttm_test_devices_basic(struct kunit *test) in ttm_test_devices_basic() argument
49 devs = kunit_kzalloc(test, sizeof(*devs), GFP_KERNEL); in ttm_test_devices_basic()
50 KUNIT_ASSERT_NOT_NULL(test, devs); in ttm_test_devices_basic()
52 devs->dev = drm_kunit_helper_alloc_device(test); in ttm_test_devices_basic()
53 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, devs->dev); in ttm_test_devices_basic()
55 devs->drm = __drm_kunit_helper_alloc_drm_device(test, devs->dev, in ttm_test_devices_basic()
58 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, devs->drm); in ttm_test_devices_basic()
[all …]
/openbsd-src/regress/usr.sbin/rpki-client/rrdp/
H A Drrdp-r2.out1 test-rrdp: session_id: 8fe05c2e-047d-49e7-8398-cd4250a572b1, serial: 50550
2 test-rrdp: snapshot_uri: https://rpki.example.com/8fe05c2e-047d-49e7-8398-cd4250a572b1/50550/snapsh…
3 test-rrdp: snapshot hash: AE52F78BCB1B258A1DA924122971B0FDDFCE4C01B2B2DBA59C9B28EF1D94C02B
4 test-rrdp: delta serial 50501 uri: https://rpki.example.com/8fe05c2e-047d-49e7-8398-cd4250a572b1/50…
5 test-rrdp: delta hash: 40521FB9995ACA55D39360985C336619E08072A6AFFFCE97753E701A0D65D57B
6 test-rrdp: delta serial 50502 uri: https://rpki.example.com/8fe05c2e-047d-49e7-8398-cd4250a572b1/50…
7 test-rrdp: delta hash: 1036A71DF3129449E1403F3BEACFA427D59659FAC0B45C9E3DFFDBEBDB17D722
8 test-rrdp: delta serial 50503 uri: https://rpki.example.com/8fe05c2e-047d-49e7-8398-cd4250a572b1/50…
9 test-rrdp: delta hash: E8DE1E10D05734BB9EFE65202B96023D3770F0B8FD457249676214612F4685B3
10 test-rrdp: delta serial 50504 uri: https://rpki.example.com/8fe05c2e-047d-49e7-8398-cd4250a572b1/50…
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Dattach.exp92 set test "attach to nonsense is prohibited"
93 gdb_test_multiple "attach abc" "$test" {
95 pass "$test"
99 pass "$test"
103 pass "$test"
106 fail "$test (bogus pid allowed)"
122 set test "attach to nonexistent process is prohibited"
123 gdb_test_multiple "attach $boguspid" "$test" {
126 pass "$test"
130 pass "$test"
[all …]
H A Dcall-sc.exp115 set test "ptype; ${testfile}"
117 gdb_test_multiple "ptype ${type}" "${test}" {
120 pass "$test (${foo_t})"
254 set test "return foo; ${tests}"
257 gdb_test_multiple "return foo" "${test}" {
272 gdb_test_multiple "y" "${test}" {
275 gdb_test "next" "zed.*" "${test}"
278 pass "${test}"
290 set test "return foo; synchronize pc to main()"
292 gdb_test_multiple "backtrace 1" $test {
[all …]
H A Dsigstep.exp80 set test "$prefix; leave handler"
81 gdb_test_multiple "$i" "${test}" {
92 fail "$test (program exited)"
101 pass "$test"
114 set test "$prefix; leave handler"
115 gdb_test_multiple "$i" "${test}" {
121 fail "$test (could not set breakpoint)"
133 pass "$test"
136 fail "$test (in main)"
139 fail "$test (program exited)"
[all …]
/openbsd-src/regress/lib/libm/msun/
H A Dlrint_test.c39 #define test(func, x, result, excepts) do { \ macro
50 test(lrint, x, result, excepts); \
51 test(lrintf, x, result, excepts); \
52 test(lrintl, x, result, excepts); \
53 test(llrint, x, result, excepts); \
54 test(llrintf, x, result, excepts); \
55 test(llrintl, x, result, excepts); \
82 test(lrint, 0x7fffffff.8p0, IGNORE, FE_INVALID); in run_tests()
83 test(lrint, -0x80000000.4p0, (long)-0x80000000l, FE_INEXACT); in run_tests()
86 test(lrint, -0x80000000.8p0, IGNORE, FE_INVALID); in run_tests()
[all …]
H A Dlround_test.c43 #define test(func, x, result, excepts) do { \ macro
59 test(lround, x, result, excepts); \
60 test(lroundf, x, result, excepts); \
61 test(llround, x, result, excepts); \
62 test(llroundf, x, result, excepts); \
81 test(lround, 0x7fffffff.8p0, IGNORE, FE_INVALID); in ATF_TC_BODY()
82 test(lround, -0x80000000.8p0, IGNORE, FE_INVALID); in ATF_TC_BODY()
83 test(lround, 0x80000000.0p0, IGNORE, FE_INVALID); in ATF_TC_BODY()
84 test(lround, 0x7fffffff.4p0, 0x7fffffffl, FE_INEXACT); in ATF_TC_BODY()
85 test(lround, -0x80000000.4p0, -0x80000000l, FE_INEXACT); in ATF_TC_BODY()
[all …]
/openbsd-src/regress/lib/libm/nextafter/
H A Dnextafter.c10 #define test(f, r) ( \ macro
18 assert(test(nextafter(0.0, 0.0), 0.0)); in main()
19 assert(test(nextafter(-0.0, 0.0), 0.0)); in main()
20 assert(test(nextafter(0.0, -0.0), -0.0)); in main()
21 assert(test(nextafter(-0.0, -0.0), -0.0)); in main()
23 assert(test(nextafterf(0.0F, 0.0F), 0.0F)); in main()
24 assert(test(nextafterf(-0.0F, 0.0F), 0.0F)); in main()
25 assert(test(nextafterf(0.0F, -0.0F), -0.0F)); in main()
26 assert(test(nextafterf(-0.0F, -0.0F), -0.0F)); in main()
28 assert(test(nextafterl(0.0L, 0.0L), 0.0L)); in main()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/
H A Drun_test.t7 my $test = Test::Builder->new;
8 $test->plan(tests => 54);
20 $test->is_eq($prem, "", "run pass no prem");
21 $test->is_num(scalar (@results), 1, "run pass result count");
25 $test->is_eq($res->{name}, "run pass", "run pass name");
26 $test->is_eq($res->{ok}, 1, "run pass ok");
27 $test->is_eq($res->{actual_ok}, 1, "run pass actual_ok");
28 $test->is_eq($res->{reason}, "", "run pass reason");
29 $test->is_eq($res->{type}, "", "run pass type");
30 $test->is_eq($res->{diag}, "", "run pass diag");
[all …]
/openbsd-src/regress/bin/ksh/
H A Dth379 $ret = &read_test($file, IN, *test);
381 next if !$all_tests && !$do_test{$test{'name'}};
382 next if !&category_check(*test);
383 $ret = &run_test(*test);
394 local(*test) = @_;
395 local($name) = $test{':full-name'};
401 if (defined $test{'stdin'}) {
402 return undef if !&write_file($tempi, $test{'stdin'});
408 if (defined $test{'script'}) {
409 return undef if !&write_file($temps, $test{'script'});
[all …]
/openbsd-src/regress/lib/libcrypto/hmac/
H A Dhmactest.c75 } test[8] = { variable
155 test[i].key, test[i].key_len, in main()
156 test[i].data, test[i].data_len, buf, NULL), in main()
159 if (strcmp(p, (char *)test[i].digest) != 0) { in main()
161 printf("got %s instead of %s\n", p, test[i].digest); in main()
178 if (HMAC_Update(ctx, test[4].data, test[4].data_len)) { in main()
188 if (HMAC_Update(ctx, test[4].data, test[4].data_len)) { in main()
196 if (HMAC_Init_ex(ctx, test[4].key, test[4].key_len, NULL, NULL)) { in main()
201 if (HMAC_Update(ctx, test[4].data, test[4].data_len)) { in main()
206 if (HMAC_Init_ex(ctx, test[4].key, -1, EVP_sha1(), NULL)) { in main()
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/threads-shared/t/
H A Dclone.t22 printf("# Failed test at line %d\n", (caller)[2]);
33 my $test = 1;
37 ok($test++, 1, 'Loaded');
43 ok($test++, $x == 14, 'number');
45 $x = shared_clone('test');
46 ok($test++, $x eq 'test', 'string');
54 ok($test++, $@ =~ /Usage:/, '1 arg');
60 my $x = 'test';
62 ok($test++, $foo eq 'test', 'cloned string');
65 ok($test++, $$foo eq 'test', 'cloned scalar ref');
[all …]
/openbsd-src/gnu/llvm/llvm/
H A D.gitattributes2 test/Object/Inputs/*.a* binary
3 test/tools/dsymutil/Inputs/*.o binary
4 test/tools/dsymutil/Inputs/*.a binary
5 test/tools/dsymutil/Inputs/*.i386 binary
6 test/tools/dsymutil/Inputs/*.x86_64 binary
7 test/tools/dsymutil/Inputs/*.armv7m binary
8 test/tools/dsymutil/Inputs/*.dylib binary
9 test/tools/dsymutil/Inputs/*.dSYM binary
10 test/tools/dsymutil/Inputs/*.swiftmodule binary
11 test/tools/llvm-ar/Inputs/*.lib binary
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Tie-RefHash/t/
H A Drefhash.t79 test($all_ok);
86 test(not $@);
87 test(ref($h) eq 'Tie::RefHash');
88 test(defined(tied(%h)) and tied(%h) =~ /^Tie::RefHash/);
90 test($h{$ref} eq 'cholet');
91 test(exists $h{$ref});
92 test((keys %h) == 1);
93 test(ref((keys %h)[0]) eq 'ARRAY');
94 test((keys %h)[0] eq $ref);
95 test((values %h) == 1);
[all …]
/openbsd-src/regress/lib/libcrypto/hkdf/
H A Dhkdf_test.c254 const HKDFTestVector *test = &kTests[i]; in main() local
258 if (!HKDF_extract(prk, &prk_len, test->md_func(), test->ikm, in main()
259 test->ikm_len, test->salt, test->salt_len)) { in main()
264 if (prk_len != test->prk_len || in main()
265 memcmp(prk, test->prk, test->prk_len) != 0) { in main()
270 if (!HKDF_expand(buf, test->out_len, test->md_func(), prk, prk_len, in main()
271 test->info, test->info_len)) { in main()
276 if (memcmp(buf, test->out, test->out_len) != 0) { in main()
283 if (!HKDF(buf, test->out_len, test->md_func(), test->ikm, in main()
284 test->ikm_len, test->salt, test->salt_len, test->info, in main()
[all …]
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/utils/llvm-lit/
H A DBUILD.gn1 import("//bolt/test/bolt_lit_site_cfg_files.gni")
2 import("//clang-tools-extra/clangd/test/clangd_lit_site_cfg_files.gni")
3 import("//clang-tools-extra/pseudo/test/clang_pseudo_lit_site_cfg_files.gni")
4 import("//clang-tools-extra/test/clang_tools_extra_lit_site_cfg_files.gni")
5 import("//clang/test/clang_lit_site_cfg_files.gni")
6 import("//lld/test/lld_lit_site_cfg_files.gni")
7 import("//lldb/test/lldb_lit_site_cfg_files.gni")
8 import("//llvm/test/llvm_lit_site_cfg_files.gni")
25 "//clang-tools-extra/clangd/test:lit_site_cfg",
26 "//clang-tools-extra/clangd/test:lit_unit_site_cfg",
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Win32API-File/t/
H A Dfile.t38 $test= 1;
67 print $ok ? "" : "not ", "ok ", ++$test, "\n"; # ok 2
72 print $ok ? "" : "not ", "ok ", ++$test, "\n"; # ok 3
76 print $ok ? "" : "not ", "ok ", ++$test, "\n"; # ok 4
81 print $ok ? "" : "not ", "ok ", ++$test, "\n"; # ok 5
87 print $ok ? "" : "not ", "ok ", ++$test, "\n"; # ok 6
92 print $ok ? "" : "not ", "ok ", ++$test, "\n"; # ok 7
96 print $ok ? "" : "not ", "ok ", ++$test, "\n"; # ok 8
102 print $ok ? "" : "not ", "ok ", ++$test, "\n"; # ok 9
108 print $ok ? "" : "not ", "ok ", ++$test, "\n"; # ok 10
[all …]
/openbsd-src/regress/lib/libcrypto/bn/
H A Dbn_print.c153 bn_print_testcase(const BIGNUM *bn, const struct print_test *test) in bn_print_testcase() argument
170 if ((want_len = strlen(test->want)) != (size_t)got_len) { in bn_print_testcase()
172 test->desc, want_len, got_len); in bn_print_testcase()
176 if (strncmp(got, test->want, want_len) != 0) { in bn_print_testcase()
177 fprintf(stderr, "%s: strings differ\n", test->desc); in bn_print_testcase()
179 test->want, (int)got_len, got); in bn_print_testcase()
193 const struct print_test *test; in main() local
203 test = &bn_print_tests[testcase++]; in main()
204 failed |= bn_print_testcase(bn, test); in main()
211 test = &bn_print_tests[testcase++]; in main()
[all …]
/openbsd-src/regress/lib/libc/strtonum/
H A Dstrtonumtest.c25 test(const char *p, long long lb, long long ub, int ok) in test() function
44 test("1", 0, 10, 1); in main()
45 test("0", -2, 5, 1); in main()
46 test("0", 2, 5, 0); in main()
47 test("0", 2, LLONG_MAX, 0); in main()
48 test("-2", 0, LLONG_MAX, 0); in main()
49 test("0", -5, LLONG_MAX, 1); in main()
50 test("-3", -3, LLONG_MAX, 1); in main()
51 test("-9223372036854775808", LLONG_MIN, LLONG_MAX, 1); in main()
52 test("9223372036854775807", LLONG_MIN, LLONG_MAX, 1); in main()
[all …]

12345678910>>...120