/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress.gen.h | 14 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 D | regress.gen.h | 14 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/openssl/test/recipes/ |
H A D | 25-test_req.t | 47 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(!run(ap [all...] |
H A D | 80-test_ssl_old.t | 127 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", 172 && run(app([@verifycmd, "-CAfile", $CAcert, $Ucert])), 176 ok(run(app([@x509cmd, [all …]
|
H A D | 03-test_fipsinstall.t | 33 run(test(["fips_version_test", "-config", $provconf, "<3.4.0"]), 87 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, 116 && !run(app(['openssl', 'fipsinstall', 125 && !run(app(['openssl', 'fipsinstall', 135 && !run(app(['openssl', 'fipsinstall', 145 && !run(app(['openssl', 'fipsinstall', 155 && !run(app(['openssl', 'fipsinstall', [all …]
|
H A D | 90-test_store.t | 148 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 151 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 154 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 156 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 173 ok(!run(app([@storeutl, "-noout", $file]))); 174 ok(!run(app([@storeutl, "-noout", to_abs_file($file)]))); 178 ok(!run(app([@storeutl, "-noout", 185 ok(run(app([@storeutl, "-noout", $file]))); 186 ok(run(app([@storeutl, "-noout", to_abs_file($file)]))); 191 ok(run(app([@storeutl, "-noout", [all …]
|
H A D | 15-test_genrsa.t | 31 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 D | 20-test_cli_fips.t | 39 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 D | 80-test_tsa.t | 40 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 D | 25-test_d2i.t | 21 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 D | 25-test_x509.t | 36 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])) 77 && run(app(["openssl", "x509", "-new", "-force_pubkey", $pubkey, 80 && run(app(["openssl", "verify", "-no_check_time", 99 ok(run(test(["v3ext", srctop_file(@certs, "pathlen.pem")]))); [all …]
|
H A D | 15-test_gendsa.t | 33 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 D | 15-test_rsapss.t | 22 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'), 80 ok(run(app(['openssl', 'genpkey', '-algorithm', 'RSA-PSS', 85 ok(run(app(['openssl', 'rsa', '-check', [all …]
|
H A D | 80-test_pkcs12.t | 60 ok(run(test(["pkcs12_format_test"])), "test pkcs12 formats"); 62 ok(run(test(["pkcs12_format_test", "-legacy"])), "test pkcs12 formats using legacy APIs"); 64 ok(run(test(["pkcs12_format_test", "-context"])), "test pkcs12 formats using a non-default library context"); 71 ok(run(app(["openssl", "pkcs12", "-noout", 85 ok(run(app(["openssl", "pkcs12", "-export", "-chain", 96 ok(run(app(["openssl", "pkcs12", "-export", 109 ok(run(app(["openssl", "pkcs12", "-export", 120 ok(run(app(["openssl", "pkcs12", "-export", 131 ok(run(app(["openssl", "pkcs12", 137 ok(run(ap [all...] |
H A D | 25-test_eai_data.t | 45 ok(run(app(["openssl", "x509", "-ext", "subjectAltName", "-in", $ascii_pem, "-noout", "-out", $out]… 49 ok(run(app(["openssl", "x509", "-ext", "subjectAltName", "-in", $utf8_pem, "-noout", "-out", $out])… 55 …ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-verify_email", "学生\@eleme… 56 …ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-verify_email", "医生\@大学.ex… 59 ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-CAfile", $ascii_chain_pem,… 60 ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-CAfile", $utf8_chain_pem, … 61 ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-CAfile", $kdc_chain_pem, $… 63 ok(!run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-CAfile", $ascii_chain_pem… 64 ok(!run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-CAfile", $utf8_chain_pem,… 67 ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-verify_hostname", 'mx1.exa… [all …]
|
H A D | 15-test_mp_rsa.t | 40 ok(run(test(["rsa_mp_test"])), "running rsa multi prime test"); 42 ok(run(app(['openssl', 'pkey', '-noout', '-check', '-in', 61 ok(run(app([ 'openssl', 'genpkey', '-out', "rsamptest-$name.pem", 66 ok(run(app([ 'openssl', 'pkey', '-check', 69 ok(run(app([ 'openssl', 'pkeyutl', '-inkey', "rsamptest-$name.pem", 73 ok(run(app([ 'openssl', 'pkeyutl', '-inkey', "rsamptest-$name.pem", 78 ok(run(app([ 'openssl', 'genrsa', '-out', "rsamptest-$name.pem", 80 ok(run(app([ 'openssl', 'rsa', '-check', 84 ok(run(app([ 'openssl', 'rsautl', '-inkey', "rsamptest-$name.pem", 88 ok(run(app([ 'openssl', 'rsautl', '-inkey', "rsamptest-$name.pem", [all …]
|
H A D | 20-test_dhparam.t | 60 my @textdata = run(app(['openssl', 'dhparam', '-in', $file, '-noout', 126 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-2-512.pem', 132 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-exp2-512.pem', '-2', 138 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-5-512.pem', '-5', 144 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-2-512.exp.pem', 153 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-0-512.pem', 160 ok(!run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-exp2-512.pem', '-2', 166 ok(!run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-5-512.pem', 171 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-0-512.der', 182 ok(!run(app(['openssl', 'dhparam', '-check', '512'])), [all …]
|
H A D | 20-test_pkeyutl.t | 29 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', 73 ok(run(app(([ 'openssl', 'pkeyutl', '-sign', '-in', 78 ok(run(app(([ 'openssl', 'pkeyutl', '-verify', '-certin', '-in', 103 ok(run(app([@args])), 112 ok(!run(app([@args])), [all …]
|
H A D | 15-test_gendh.t | 23 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', 28 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', 34 ok(run(app([ 'openssl', 'genpkey', '-genparam', 43 ok(run(app([ 'openssl', 'genpkey', 51 ok(!run(app([ 'openssl', 'genpkey', 55 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', '-pkeyopt', 59 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', '-pkeyopt', 63 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', '-pkeyopt', 67 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', '-pkeyopt',
|
H A D | 20-test_dgst.t | 33 ok(run(app(['openssl', 'dgst', '-sign', $privkey, 38 ok(run(app(['openssl', 'dgst', '-prverify', $privkey, 43 ok(run(app(['openssl', 'dgst', '-verify', $pubkey, 48 ok(!run(app(['openssl', 'dgst', '-verify', $pubkey, 65 ok(run(app(['openssl', 'sha512', '-sign', $privkey, 70 ok(run(app(['openssl', 'sha512', '-verify', $pubkey, 75 ok(run(app(['openssl', 'dgst', '-sha512', '-prverify', $privkey, 80 ok(run(app(['openssl', 'dgst', '-sha512', '-verify', $pubkey, 85 ok(!run(app(['openssl', 'dgst', '-sha512', '-verify', $pubkey, 158 my @macdata = run(app(['openssl', 'dgst', '-sha1', [all …]
|
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/ |
H A D | qemu-4-build.sh | 9 function run() { function 28 run ./autogen.sh 32 run ./configure \ 41 run gmake -j$(sysctl -n hw.ncpu) 45 run sudo gmake install 51 run ./autogen.sh 55 run ./configure \ 63 run make -j$(nproc) 67 run sudo make install 74 run ./autogen.sh [all …]
|
/freebsd/contrib/ntp/sntp/tests/ |
H A D | Makefile.am | 122 $(srcdir)/run-crypto.c \ 123 $(srcdir)/run-keyFile.c \ 124 $(srcdir)/run-kodDatabase.c \ 125 $(srcdir)/run-kodFile.c \ 126 $(srcdir)/run-networking.c \ 127 $(srcdir)/run-packetHandling.c \ 128 $(srcdir)/run-packetProcessing.c \ 129 $(srcdir)/run-utilities.c \ 134 run-networking.c \ 141 run-packetHandling.c \ [all …]
|
/freebsd/sys/contrib/openzfs/contrib/initramfs/ |
H A D | zfsunlock | 4 if [ ! -e /run/zfs_fs_name ]; then 7 while [ ! -e /run/zfs_fs_name ]; do 8 if [ -e /run/zfs_unlock_complete ]; then 18 if [ ! -e /run/zfs_unlock_complete_notify ]; then 19 mkfifo /run/zfs_unlock_complete_notify 21 while [ ! -e /run/zfs_unlock_complete ]; do 22 zfs_fs_name=$(cat /run/zfs_fs_name) 23 zfs_console_askpwd_cmd=$(cat /run/zfs_console_askpwd_cmd) 33 while [ "$(cat /run/zfs_fs_name)" = "$zfs_fs_name" ] && [ ! -e /run/zfs_unlock_complete ]; do 42 echo "ok" > /run/zfs_unlock_complete_notify
|
/freebsd/contrib/wpa/wpa_supplicant/examples/ |
H A D | p2p-action.sh | 26 kill_daemon dhclient /var/run/dhclient-$GIFNAME.pid 27 rm /var/run/dhclient.leases-$GIFNAME 28 kill_daemon dnsmasq /var/run/dnsmasq.pid-$GIFNAME 30 if ! dnsmasq -x /var/run/dnsmasq.pid-$GIFNAME \ 35 dnsmasq -x /var/run/dnsmasq.pid-$GIFNAME \ 41 kill_daemon dhclient /var/run/dhclient-$GIFNAME.pid 42 rm /var/run/dhclient.leases-$GIFNAME 43 kill_daemon dnsmasq /var/run/dnsmasq.pid-$GIFNAME 57 dhclient -pf /var/run/dhclient-$GIFNAME.pid \ 58 -lf /var/run/dhclient.leases-$GIFNAME \ [all …]
|
/freebsd/usr.bin/lastcomm/tests/ |
H A D | values.sh | 10 run() function 31 run awk 'BEGIN {for (i = 0; i < 1000000; i++) cos(.3)}' /dev/null 32 run egrep '(.)(.)(.)(.)(.)(.)(.)(.)(.)\9\8\7\6\5\4\3\2\1' /usr/share/dict/words 35 run find /usr/src -name xyzzy 38 run sleep 3 41 run dd if=/dev/zero bs=512 count=4096 of=zero 2>/dev/null 44 run diff /usr/share/dict/words /dev/null >/dev/null 48 run ./123456789012345 52 run ./1234567890123456 56 run ./12345678901234567 [all …]
|