Home
last modified time | relevance | path

Searched refs:run (Results 1 – 25 of 2083) sorted by relevance

12345678910>>...84

/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress.gen.h14 struct run;
33 int (*run_assign)(struct msg *, int, const struct run*);
34 int (*run_get)(struct msg *, int, struct run* *);
35 struct run* (*run_add)(struct msg *msg);
44 struct run* *run_data;
71 int msg_run_assign(struct msg *, int, const struct run*);
72 int msg_run_get(struct msg *, int, struct run* *);
73 struct run* msg_run_add(struct msg *msg);
142 int (*how_assign)(struct run *, const char *);
143 int (*how_get)(struct run *, char * *);
[all …]
/freebsd/contrib/libevent/test/
H A Dregress.gen.h14 struct run;
33 int (*run_assign)(struct msg *, int, const struct run*);
34 int (*run_get)(struct msg *, int, struct run* *);
35 struct run* (*run_add)(struct msg *msg);
44 struct run* *run_data;
71 int msg_run_assign(struct msg *, int, const struct run*);
72 int msg_run_get(struct msg *, int, struct run* *);
73 struct run* msg_run_add(struct msg *msg);
142 int (*how_assign)(struct run *, const char *);
143 int (*how_get)(struct run *, char * *);
[all …]
/freebsd/crypto/krb5/src/lib/krb5/krb/
H A Dt_vfy_increds.py29 realm.run(['./t_vfy_increds'])
30 realm.run(['./t_vfy_increds', '-n'])
35 realm.run([kadminl, 'ktadd', realm.host_princ])
36 realm.run(['./t_vfy_increds'])
37 realm.run(['./t_vfy_increds', '-n'])
42 realm.run([kadminl, 'change_password', '-randkey', realm.host_princ])
43 realm.run(['./t_vfy_increds'], expected_code=1)
44 realm.run(['./t_vfy_increds', '-n'], expected_code=1)
52 realm.run([kadminl, 'addprinc', '-randkey', 'host/wrong.hostname'])
53 realm.run([kadminl, 'ktadd', 'host/wrong.hostname'])
[all …]
H A Dt_in_ccache_patypes.py29 realm.run([kadminl, 'addprinc', '-pw', 'pass', 'nopreauth'])
30 realm.run([kadminl, 'addprinc', '-pw', 'pass', '+requires_preauth', 'preauth'])
34 realm.run(['./t_in_ccache', 'nopreauth', 'pass'])
38 realm.run(['./t_in_ccache', 'preauth', 'pass'])
42 realm.run(['./t_in_ccache', 'nopreauth', 'pass'])
43 realm.run(['./t_in_ccache', '-I', realm.ccache, 'preauth', 'pass'])
46 realm.run(['./t_in_ccache', 'preauth', 'pass'])
47 realm.run(['./t_in_ccache', '-I', realm.ccache, 'preauth', 'pass'])
52 realm.run(['./t_in_ccache', 'nopreauth', 'pass'])
53 realm.run(['./t_cc_config', '-p', realm.krbtgt_princ, 'pa_type', '2'])
[all …]
H A Dt_get_etype_info.py6 realm.run([kadminl, 'ank', '-pw', 'pw', '+preauth', 'puser'])
7 realm.run([kadminl, 'ank', '-nokey', 'nokey'])
8 realm.run([kadminl, 'ank', '-nokey', '+preauth', 'pnokey'])
9 realm.run([kadminl, 'ank', '-e', 'aes256-cts:special', '-pw', 'pw', 'exp'])
10 realm.run([kadminl, 'ank', '-e', 'aes256-cts:special', '-pw', 'pw', '+preauth',
14 out = realm.run([kdb5_util, 'tabdump', 'keyinfo'])
20 out = realm.run(['./t_get_etype_info', 'notfound'], expected_code=1,
26 realm.run(['./t_get_etype_info', 'user'],
28 realm.run(['./t_get_etype_info', 'puser'],
33 realm.run(['./t_get_etype_info', '-e', 'aes128-cts', 'user'],
[all …]
H A Dt_expire_warn.py29 realm.run([kadminl, 'addprinc', '-pw', 'pass', 'noexpire'])
30 realm.run([kadminl, 'addprinc', '-pw', 'pass', '-pwexpire', '30 minutes',
32 realm.run([kadminl, 'addprinc', '-pw', 'pass', '-pwexpire', '12 hours',
34 realm.run([kadminl, 'addprinc', '-pw', 'pass', '-pwexpire', '3 days', 'days'])
37 output = realm.run(['./t_expire_warn', 'noexpire', 'pass', '0', '0'])
40 realm.run(['./t_expire_warn', 'minutes', 'pass', '0', '0'],
42 realm.run(['./t_expire_warn', 'hours', 'pass', '0', '0'],
44 realm.run(['./t_expire_warn', 'days', 'pass', '0', '0'],
47 realm.run(['./t_expire_warn', 'days', 'pass', '0', '1'],
53 output = realm.run(['./t_expire_warn', 'noexpire', 'pass', '1', '0'])
[all …]
/freebsd/crypto/openssl/test/recipes/
H A D20-test_speed.t22 ok(run(app(['openssl', 'speed', '-testmode'])),
34 ok(run(app(['openssl', 'speed', '-testmode', '-multi', 2])),
38 ok(run(app(['openssl', 'speed', '-testmode', '-misalign', 1])),
47 || !run(app(['openssl', 'speed', '-testmode', '-evp',
50 ok(run(app(['openssl', 'speed', '-testmode', '-mb', '-evp',
55 ok(run(app(['openssl', 'speed', '-testmode', '-kem-algorithms'])),
58 ok(run(app(['openssl', 'speed', '-testmode', '-signature-algorithms'])),
61 ok(run(app(['openssl', 'speed', '-testmode', '-primes', 3, 'rsa1024'])),
64 ok(run(app(['openssl', 'speed', '-testmode', '-mr'])),
67 ok(run(app(['openssl', 'speed', '-testmode', '-decrypt', '-evp', 'aes-128-cbc'])),
[all …]
H A D03-test_fipsinstall.t140 ok(!run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module',
147 ok(!run(app(['openssl', 'fipsinstall', '-in', 'dummy.tmp', '-module', $infile,
154 ok(run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', $infile,
161 ok(run(app(['openssl', 'fipsinstall', '-in', 'fips.cnf', '-module', $infile,
170 run(test(["fips_version_test", "-config", $provconf, "<3.1.0"]),
190 && !run(app(['openssl', 'fipsinstall',
199 && !run(app(['openssl', 'fipsinstall',
209 && !run(app(['openssl', 'fipsinstall',
219 && !run(app(['openssl', 'fipsinstall',
229 && !run(app(['openssl', 'fipsinstall',
[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"])));
58 ok(run(app([@addext_args, "-addext", "keyUsage=digitalSignature",
[all …]
H A D80-test_ssl_old.t190 ok(run(app([@reqcmd, "-config", $cnf,
196 ok(run(app([@x509cmd, "-CAcreateserial", "-in", $CAreq, "-days", "30",
203 ok(run(app([@x509cmd, "-in", $CAcert,
209 ok(run(app([@reqcmd, "-config", $dummycnf,
215 ok(run(app([@reqcmd, "-config", $dummycnf,
220 ok(run(app([@verifycmd, "-CAfile", $CAcert, $CAcert])),
224 ok(run(app([@reqcmd, "-config", $cnf, "-section", "userreq",
230 ok(run(app([@x509cmd, "-CAcreateserial", "-in", $Ureq, "-days", "30",
235 && run(app([@verifycmd, "-CAfile", $CAcert, $Ucert])),
239 ok(run(app([@x509cmd,
[all …]
H A D90-test_store.t138 ok(run(app(["openssl", "storeutl", "-crls", $test_x509])),
141 ok(!run(app(["openssl", "storeutl", $test_x509, "-crls"])),
158 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin,
161 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin,
164 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin,
166 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin,
177 ok(run(app(["openssl", "storeutl", "-out", "cacert.pem", "cacert.pem"])),
188 ok(!run(app([@storeutl, "-noout", $file])));
189 ok(!run(app([@storeutl, "-noout", to_abs_file($file)])));
193 ok(!run(app([@storeutl, "-noout",
[all …]
H A D15-test_gendsa.t33 ok(run(app([ 'openssl', 'genpkey', '-genparam',
40 ok(run(app([ 'openssl', 'genpkey', '-genparam',
46 ok(run(app([ 'openssl', 'genpkey', '-genparam',
54 ok(run(app([ 'openssl', 'genpkey', '-genparam',
60 ok(run(app([ 'openssl', 'genpkey', '-genparam',
67 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'DSA',
72 ok(run(app([ 'openssl', 'genpkey', '-genparam',
79 ok(run(app([ 'openssl', 'genpkey', '-genparam',
89 ok(run(app([ 'openssl', 'genpkey',
97 ok(run(app([ 'openssl', 'genpkey',
[all …]
H A D80-test_pkcs12.t62 ok(run(test(["pkcs12_format_test"])), "test pkcs12 formats");
64 ok(run(test(["pkcs12_format_test", "-legacy"])), "test pkcs12 formats using legacy APIs");
66 ok(run(test(["pkcs12_format_test", "-context"])), "test pkcs12 formats using a non-default library …
73 ok(run(app(["openssl", "pkcs12", "-noout",
89 ok(run(app(["openssl", "pkcs12", "-export", "-chain",
100 ok(run(app(["openssl", "pkcs12", "-export",
113 ok(run(app(["openssl", "pkcs12", "-export",
124 ok(run(app(["openssl", "pkcs12", "-export",
135 ok(run(app(["openssl", "pkcs12",
141 ok(run(app(["openssl", "pkcs12", "-export", "-out", $outfile5,
[all …]
H A D15-test_genrsa.t31 is(run(app([ 'openssl', 'genpkey', '-out', 'genrsatest.pem',
35 is(run(app([ 'openssl', 'genrsa', '-3', '-out', 'genrsatest.pem', '8'])),
50 $fin = run(app([ 'openssl', 'genpkey', '-out', 'genrsatest.pem',
66 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',
[all …]
H A D20-test_cli_fips.t39 run(test(["fips_version_test", "-config", $fipsconf, "<3.4.0"]),
42 ok(run(app(['openssl', 'list', '-public-key-methods', '-verbose'])),
44 ok(run(app(['openssl', 'list', '-public-key-algorithms', '-verbose'])),
46 ok(run(app(['openssl', 'list', '-key-managers', '-verbose'])),
48 ok(run(app(['openssl', 'list', '-key-exchange-algorithms', '-verbose'])),
50 ok(run(app(['openssl', 'list', '-kem-algorithms', '-verbose'])),
52 ok(run(app(['openssl', 'list', '-signature-algorithms', '-verbose'])),
54 ok(run(app(['openssl', 'list', '-tls-signature-algorithms', '-verbose'])),
56 ok(run(app(['openssl', 'list', '-asymcipher-algorithms', '-verbose'])),
58 ok(run(app(['openssl', 'list', '-key-managers', '-verbose', '-select', 'DSA' ])),
[all …]
H A D15-test_rsapss.t22 ok(run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha1',
30 ok(run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha1',
36 ok(!run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha512',
41 ok(!run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha512',
46 ok(!run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'), '-sha512',
52 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'),
61 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'),
70 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'),
79 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'),
86 ok(run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha1',
[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 D20-test_pkeyutl.t29 ok_nofips(run(app(([ 'openssl', 'pkeyutl', '-sign',
35 ok_nofips(run(app(([ 'openssl', 'pkeyutl',
42 ok_nofips(run(app(([ 'openssl', 'pkeyutl', '-encrypt',
47 ok_nofips(run(app(([ 'openssl', 'pkeyutl', '-decrypt',
61 ok(run(app(([ 'openssl', 'pkeyutl', '-sign', '-in',
66 ok(run(app(([ 'openssl', 'pkeyutl', '-verify', '-certin', '-in',
74 ok(run(app(([ 'openssl', 'pkeyutl', '-verifyrecover', '-in', 'Ed25519.sig',
80 ok(run(app(([ 'openssl', 'pkeyutl', '-sign', '-in',
85 ok(run(app(([ 'openssl', 'pkeyutl', '-verify', '-certin', '-in',
90 ok(run(app(([ 'openssl', 'pkeyutl', '-sign', '-in',
[all …]
H A D25-test_pkcs8.t25 ok(run(app(['openssl', 'pkcs8', '-topk8', '-in', $inout,
28 ok(run(app(['openssl', 'pkcs8', '-in', $inout,
34 ok(run(app(([ 'openssl', 'pkcs8', '-topk8',
42 ok(run(app(([ 'openssl', 'asn1parse',
51 ok(run(app(([ 'openssl', 'pkcs8', '-topk8',
60 ok(run(app(([ 'openssl', 'asn1parse',
65 ok(run(app(([ 'openssl', 'pkcs8', '-topk8',
75 ok(run(app(([ 'openssl', 'asn1parse',
85 ok(run(app(([ 'openssl', 'pkcs8', '-topk8',
94 ok(run(app(([ 'openssl', 'asn1parse',
[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 …]
H A D30-test_pairwise_fail.t28 run(test(["fips_version_test", "-config", $provconf, ">=3.1.0"]),
34 ok(run(test(["pairwise_fail_test", "-config", $provconf,
42 ok(run(test(["pairwise_fail_test", "-config", $provconf,
48 ok(run(test(["pairwise_fail_test", "-config", $provconf,
56 ok(run(test(["pairwise_fail_test", "-config", $provconf,
62 ok(run(test(["pairwise_fail_test", "-config", $provconf,
71 run(test(["fips_version_test", "-config", $provconf, ">=3.3.0"]),
76 ok(run(test(["pairwise_fail_test", "-config", $provconf,
85 run(test(["fips_version_test", "-config", $provconf, ">=3.5.0"]),
90 ok(run(test(["pairwise_fail_test", "-config", $provconf,
[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,
51 ok(run(app(["openssl", "x509", "-text", "-noout",
64 ok(run(app(["openssl", "x509", "-text", "-in", $p12, "-out", $out_pem,
69 ok(!run(app(["openssl", "x509", "-in", $pem, "-inform", "DER",
72 ok(run(app(["openssl", "x509", "-in", $pem, "-inform", "PEM",
75 ok(!run(app(["openssl", "x509", "-in", $der, "-inform", "PEM",
88 ok(run(app(["openssl", "pkey", "-in", $pkey, "-pubout", "-out", $pubkey]))
89 && run(app(["openssl", "x509", "-new", "-force_pubkey", $pubkey, "-subj", $subj,
91 && run(ap
[all...]
/freebsd/crypto/krb5/src/clients/ksu/
H A Dt_ksu.py131 realm.run([ksu, 'ksutest', '-n', 'alice', '-a', '-c', klist], expected_code=1,
136 realm.run([ksu, 'ksutest', '-a', '-c', klist],
138 realm.run([ksu, 'ksutest', '-e', klist], expected_code=1,
143 realm.run([ksu, 'ksutest', '-e', klist], expected_code=1,
149 realm.run([ksu, 'ksutest', '-e', klist], expected_code=1,
156 realm.run([ksu, 'ksutest', '-a', '-c', klist],
158 realm.run([ksu, 'ksutest', '-e', klist],
161 realm.run([ksu, 'ksutest', '-a', '-c', klist], expected_code=1,
167 realm.run([ksu, 'ksutest', '-a', '-c', klist],
169 realm.run([ksu, 'ksutest', '-e', klist], expected_code=1,
[all …]
/freebsd/crypto/krb5/src/lib/kadm5/
H A Dt_kadm5.py27 realm.run([kadminl, 'addpol', '-maxlife', '10000s', '-minlength', '8',
31 realm.run([kadminl, 'addpol', '-minlife', '10s', 'minlife-pol'])
32 realm.run([kadminl, 'addpol', 'dict-only-pol'])
33 realm.run([kadminl, 'addprinc', '-pw', 'admin', 'admin'])
34 realm.run([kadminl, 'addprinc', '-pw', 'admin', 'admin/get'])
35 realm.run([kadminl, 'addprinc', '-pw', 'admin', 'admin/modify'])
36 realm.run([kadminl, 'addprinc', '-pw', 'admin', 'admin/delete'])
37 realm.run([kadminl, 'addprinc', '-pw', 'admin', 'admin/add'])
38 realm.run([kadminl, 'addprinc', '-pw', 'admin', 'admin/rename'])
39 realm.run([kadminl, 'addprinc', '-pw', 'admin', 'admin/none'])
[all …]
/freebsd/crypto/krb5/src/lib/krb5/ccache/
H A Dt_cccol.py6 out = realm.run([klist, '-c', 'KEYRING:process:abcd'], expected_code=1)
13 realm.run(['./t_cccol', 'DIR:' + os.path.join(realm.testdir, 'cc')])
16 out = realm.run(['keyctl', 'list', anchor])
18 keyid = realm.run(['keyctl', 'search', anchor, 'keyring', name])
19 realm.run(['keyctl', 'unlink', keyid.strip(), anchor])
34 realm.run(['./t_cccol', 'KEYRING:' + cname])
36 realm.run(['./t_cccol', 'KEYRING:legacy:' + cname])
38 realm.run(['./t_cccol', 'KEYRING:session:' + cname])
40 realm.run(['./t_cccol', 'KEYRING:user:' + cname])
42 realm.run(['./t_cccol', 'KEYRING:process:abcd'])
[all …]

12345678910>>...84