Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 25 of 963) sorted by relevance

12345678910>>...39

/freebsd/crypto/openssl/test/recipes/
H A D25-test_verify.t35 ok(verify("ee-cert", "sslserver", ["root-cert"], ["ca-cert"]),
39 ok(!verify("ee-cert", "sslserver", [qw(root-nonca)], [qw(ca-cert)]),
41 ok(!verify("ee-cert", "sslserver", [qw(nroot+serverAuth)], [qw(ca-cert)]),
43 ok(!verify("ee-cert", "sslserver", [qw(nroot+anyEKU)], [qw(ca-cert)]),
45 ok(!verify("ee-cert", "sslserver", [qw(root-cert2)], [qw(ca-cert)]),
47 ok(!verify("ee-cert", "sslserver", [qw(root-name2)], [qw(ca-cert)]),
52 ok(verify("ee-cert-noncrit-unknown-ext", "", ["root-cert"], ["ca-cert"]),
54 ok(!verify("ee-cert-crit-unknown-ext", "", ["root-cert"], ["ca-cert"]),
56 ok(verify("ee-cert-ocsp-nocheck", "", ["root-cert"], ["ca-cert"]),
61 ok(verify("ee-cert", "sslserver", [qw(sroot-cert)], [qw(ca-cert)]),
[all …]
H A D25-test_req.t47 ok( run(app([@addext_args, "-addext", $val])));
48 ok( run(app([@addext_args, "-addext", $val1])));
50 ok(!run(app([@addext_args, "-addext", $val1])));
51 ok(!run(app([@addext_args, "-addext", $val, "-addext", $val])));
52 ok(!run(app([@addext_args, "-addext", $val, "-addext", $val2])));
53 ok(!run(app([@addext_args, "-addext", $val, "-addext", $val3])));
54 ok(!run(app([@addext_args, "-addext", $val2, "-addext", $val3])));
55 ok(run(app([@addext_args, "-addext", "SXNetID=1:one, 2:two, 3:three"])));
56 ok(run(app([@addext_args, "-addext", "subjectAltName=dirName:dirname_sec"])));
59 ok(!ru
[all...]
H A D80-test_ssl_old.t127 ok(run(app([@reqcmd, "-config", $cnf,
133 ok(run(app([@x509cmd, "-CAcreateserial", "-in", $CAreq, "-days", "30",
140 ok(run(app([@x509cmd, "-in", $CAcert,
146 ok(run(app([@reqcmd, "-config", $dummycnf,
152 ok(run(app([@reqcmd, "-config", $dummycnf,
157 ok(run(app([@verifycmd, "-CAfile", $CAcert, $CAcert])),
161 ok(run(app([@reqcmd, "-config", $cnf, "-section", "userreq",
167 ok(run(app([@x509cmd, "-CAcreateserial", "-in", $Ureq, "-days", "30",
176 ok(run(app([@x509cmd,
191 ok(run(app([@genpkeycmd, "-out", $Dkey,
[all …]
H A D03-test_fipsinstall.t87 ok(!run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module',
94 ok(!run(app(['openssl', 'fipsinstall', '-in', 'dummy.tmp', '-module', $infile,
102 ok(run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', $infile,
109 ok(run(app(['openssl', 'fipsinstall', '-in', 'fips.cnf', '-module', $infile,
115 ok(replace_line_file('module-mac', '', 'fips_no_module_mac.cnf')
124 ok(replace_line_file('install-mac', '', 'fips_no_install_mac.cnf')
133 ok(replace_line_file('module-mac', '00:00:00:00:00:00',
143 ok(replace_line_file('install-mac', '00:00:00:00:00:00',
153 ok(replace_line_file('install-status', 'INCORRECT_STATUS_STRING',
164 ok(!run(app(['openssl', 'fipsinstall', '-in', 'fips.cnf', '-module', $infile,
[all …]
H A D20-test_cli_fips.t39 ok(run(app(['openssl', 'list', '-public-key-methods', '-verbose'])),
41 ok(run(app(['openssl', 'list', '-public-key-algorithms', '-verbose'])),
43 ok(run(app(['openssl', 'list', '-key-managers', '-verbose'])),
45 ok(run(app(['openssl', 'list', '-key-exchange-algorithms', '-verbose'])),
47 ok(run(app(['openssl', 'list', '-kem-algorithms', '-verbose'])),
49 ok(run(app(['openssl', 'list', '-signature-algorithms', '-verbose'])),
51 ok(run(app(['openssl', 'list', '-asymcipher-algorithms', '-verbose'])),
53 ok(run(app(['openssl', 'list', '-key-managers', '-verbose', '-select', 'DSA' ])),
62 ok(run(app(['openssl', 'pkey',
87 ok(run(app(['openssl', 'dgst', '-sha256',
[all …]
H A D80-test_tsa.t40 ok(run(app(["openssl", "req", "-config", $openssl_conf, "-new",
45 ok(run(app(["openssl", "x509", "-req",
59 ok(run(app([@REPLY, "-section", $config, "-queryfile", $queryfile,
70 ok(run(app([@VERIFY, "-queryfile", $queryfile, "-in", $inputfile,
72 ok(run(app([@VERIFY, "-data", $datafile, "-in", $inputfile,
82 ok(!run(app([@VERIFY, "-queryfile", $queryfile, "-in", $inputfile,
106 unless ok(run(app(["openssl", "req", "-config", $openssl_conf,
122 unless ok(run(app([@QUERY, "-data", $testtsa,
127 ok(run(app([@QUERY, "-in", "req1.tsq", "-text"])),
139 ok(run(app([@REPLY, "-in", "resp1.tsr", "-text"])),
[all …]
H A D15-test_genrsa.t66 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA',
71 ok(run(app([ 'openssl', 'pkey', '-check', '-in', 'genrsatest.pem', '-noout' ])),
74 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA',
78 ok(run(app([ 'openssl', 'pkey', '-check', '-in', 'genrsatest2048.pem', '-noout' ])),
81 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA',
85 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA',
89 ok(!run(app([ 'openssl', 'genpkey', '-propquery', 'unknown',
96 ok(run(app([ 'openssl', 'genrsa', '-3', '-out', 'genrsatest.pem', $good ])),
98 ok(run(app([ 'openssl', 'rsa', '-check', '-in', 'genrsatest.pem', '-noout' ])),
102 ok(run(app([ 'openssl', 'genrsa', '-f4', '-out', 'genrsatest.pem', $good ])),
[all …]
H A D25-test_x509.t36 ok(run(app(["openssl", "x509", "-text", "-in", $pem, "-out", $out_msb,
40 ok(run(app(["openssl", "x509", "-text", "-in", $pem, "-out", $out_utf8,
52 ok(run(app(["openssl", "x509", "-text", "-in", $p12, "-out", $out_pem,
57 ok(!run(app(["openssl", "x509", "-in", $pem, "-inform", "DER",
60 ok(run(app(["openssl", "x509", "-in", $pem, "-inform", "PEM",
63 ok(!run(app(["openssl", "x509", "-in", $der, "-inform", "PEM",
76 ok(run(app(["openssl", "pkey", "-in", $pkey, "-pubout", "-out", $pubkey]))
99 ok(run(test(["v3ext", srctop_file(@certs, "pathlen.pem")])));
128 ok(test_errors("Bad output format", "root-cert.pem", '-outform', 'http'),
130 ok(test_errors("RC2-40-CBC", "v3-certs-RC2.p12", '-passin', 'pass:v3-certs'),
[all …]
H A D25-test_d2i.t21 ok(run(test(["d2i_test", "X509", "decode",
25 ok(run(test(["d2i_test", "GENERAL_NAME", "decode",
29 ok(run(test(["d2i_test", "ASN1_ANY", "BIO",
38 ok(run(test(["d2i_test", "ASN1_ANY", "OK",
44 ok(run(test(["d2i_test", "ASN1_INTEGER", "decode",
50 ok(run(test(["d2i_test", "ASN1_INTEGER", "OK",
54 ok(run(test(["d2i_test", "ASN1_INTEGER", "OK",
58 ok(run(test(["d2i_test", "ASN1_INTEGER", "OK",
62 ok(run(test(["d2i_test", "ASN1_ANY", "OK",
66 ok(run(test(["d2i_test", "ASN1_ANY", "OK",
[all …]
/freebsd/tests/sys/mac/portacl/
H A Droot_test.sh14 bind_test ok ok uid root tcp 77
15 bind_test ok ok uid root tcp 7777
16 bind_test ok ok uid root udp 77
17 bind_test ok ok uid root udp 7777
19 bind_test ok ok gid root tcp 77
20 bind_test ok ok gid root tcp 7777
21 bind_test ok ok gid root udp 77
22 bind_test ok ok gid root udp 7777
28 bind_test fl ok uid root tcp 77
29 bind_test ok ok uid root tcp 7777
[all …]
H A Dnobody_test.sh18 bind_test ok ok uid nobody tcp 7777
20 bind_test ok ok uid nobody udp 7777
23 bind_test ok ok gid nobody tcp 7777
25 bind_test ok ok gid nobody udp 7777
30 bind_test ok ok uid nobody tcp 7777
32 bind_test ok ok uid nobody udp 7777
35 bind_test ok ok gid nobody tcp 7777
37 bind_test ok ok gid nobody udp 7777
44 bind_test fl ok uid nobody tcp 7777
46 bind_test fl ok uid nobody udp 7777
[all …]
/freebsd/bin/sh/tests/builtins/
H A Dlocale1.020 *"$msgeng"*) ok=1 ;;
21 *) ok=0 ;;
23 check '$ok -eq 1' $LINENO
27 *"$msgeng"*) ok=1 ;;
28 *) ok=0 ;;
30 check '$ok -eq 1' $LINENO
33 *"$msgeng"*) ok=1 ;;
34 *) ok=0 ;;
36 check '$ok -eq 1' $LINENO
39 *"$msgeng"*) ok=1 ;;
[all …]
/freebsd/contrib/expat/doc/
H A Dok.min.css2ok-sans:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantare…
/freebsd/tools/regression/poll/7/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
10 ok 9 FIFO state 0: expected clear; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
/freebsd/tools/regression/poll/l/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN | POLLHUP
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
10 not ok 9 FIFO state 0: expected set; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
H A Dsockpoll.out2 ok 1 state initial 0: expected POLLOUT; got POLLOUT
3 ok 2 state initial 1: expected POLLOUT; got POLLOUT
4 ok 3 state after large write: expected 0; got 0
5 ok 4 state other side after large write: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
6 not ok 5 state other side after close: expected POLLIN | POLLHUP; got POLLIN | POLLOUT | POLLHUP
7 not ok 6 state other side after reading input: expected POLLHUP; got POLLIN | POLLOUT | POLLHUP
8 ok 7 state after shutdown(SHUT_WR): expected POLLOUT; got POLLOUT
9 ok 8 state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT
10 ok 9 state other side after reading EOF: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
11 ok 10 state after data from other side: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
[all …]
/freebsd/tools/regression/poll/m/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 ok 8 Sock state 6a: expected POLLHUP; got POLLHUP
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
10 not ok 9 FIFO state 0: expected set; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
/freebsd/tools/regression/poll/n/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 ok 8 Sock state 6a: expected POLLHUP; got POLLHUP
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
10 ok 9 FIFO state 0: expected clear; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
/freebsd/tools/regression/poll/4/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN
10 not ok 9 FIFO state 0: expected 0; got POLLIN
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
10 not ok 9 FIFO state 0: expected clear; got set
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
/freebsd/tools/regression/poll/14/
H A Dsockpoll.out2 ok 1 state initial 0: expected POLLOUT; got POLLOUT
3 ok 2 state initial 1: expected POLLOUT; got POLLOUT
4 ok 3 state after large write: expected 0; got 0
5 ok 4 state other side after large write: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
6 ok 5 state other side after close: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
7 not ok 6 state other side after reading input: expected POLLHUP; got POLLIN | POLLHUP
8 ok 7 state after shutdown(SHUT_WR): expected POLLOUT; got POLLOUT
9 ok 8 state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT
10 ok 9 state other side after reading EOF: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
11 ok 10 state after data from other side: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
[all …]

12345678910>>...39