| /src/contrib/netbsd-tests/include/ |
| H A D | t_errno.c | 45 bool fail; in ATF_TC_BODY() local 53 fail = true; in ATF_TC_BODY() 56 fail = false; in ATF_TC_BODY() 58 if (fail != false) in ATF_TC_BODY() 61 fail = true; in ATF_TC_BODY() 64 fail = false; in ATF_TC_BODY() 66 if (fail != false) in ATF_TC_BODY() 69 fail = true; in ATF_TC_BODY() 72 fail = false; in ATF_TC_BODY() 74 if (fail != false) in ATF_TC_BODY() [all …]
|
| H A D | t_netdb.c | 45 bool fail; in ATF_TC_BODY() local 53 fail = true; in ATF_TC_BODY() 56 fail = false; in ATF_TC_BODY() 58 if (fail != false) in ATF_TC_BODY() 61 fail = true; in ATF_TC_BODY() 64 fail = false; in ATF_TC_BODY() 66 if (fail != false) in ATF_TC_BODY() 69 fail = true; in ATF_TC_BODY() 72 fail = false; in ATF_TC_BODY() 74 if (fail != false) in ATF_TC_BODY() [all …]
|
| /src/crypto/openssh/regress/ |
| H A D | sftp-cmds.sh | 32 grep copy.dd >/dev/null || fail "lls failed" 36 grep copy.dd >/dev/null || fail "lls w/path failed" 40 || fail "ls failed" 45 egrep '^hi there$' >/dev/null || fail "shell failed" 49 || fail "pwd failed" 54 || fail "lpwd failed" 59 || fail "quit failed" 64 || fail "help failed" 70 || fail "get failed" 71 cmp $DATA ${COPY} || fail "corrupted copy after get" [all …]
|
| H A D | scp.sh | 54 $SCP $scpopts ${DATA} ${COPY} || fail "copy failed" 55 cmp ${DATA} ${COPY} || fail "corrupted copy" 59 $SCP $scpopts ${DATA} somehost:${COPY} || fail "copy failed" 60 cmp ${DATA} ${COPY} || fail "corrupted copy" 64 $SCP $scpopts somehost:${DATA} ${COPY} || fail "copy failed" 65 cmp ${DATA} ${COPY} || fail "corrupted copy" 70 $SCP $scpopts ${COPY} somehost:${COPY} || fail "copy failed" 71 cmp ${DATA} ${COPY} || fail "corrupted copy" 76 $SCP $scpopts somehost:${COPY} ${COPY} || fail "copy failed" 77 cmp ${DATA} ${COPY} || fail "corrupted copy" [all …]
|
| H A D | agent.sh | 8 fail "ssh-add -l did not fail with exit code 2" 26 fail "ssh-add -l did not fail with exit code 1" 50 fail "ssh-add failed exit code $?" 55 fail "ssh-add failed exit code $?" 71 fail "ssh-add -l failed: exit code $r" 77 fail "ssh-add -L failed: exit code $r" 84 fail "ssh connect with failed (exit code $r)" 97 fail "ssh connect with failed (exit code $r)" 105 fail "ssh-add -l via agent fwd failed (exit code $r)" 110 fail "ssh-add -l via agent path fwd failed (exit code $r)" [all …]
|
| H A D | sshsig.sh | 57 fail "sign using $t with bad hash algorithm succeeded" 67 fail "sign using $t / $h failed" 73 fail "failed signature for $t / $h key" 82 fail "failed signature for $t key w/ limited namespace" 91 fail "failed signature for $t key w/ print-pubkey" 94 fail "print-pubkey differs from signature key" 102 fail "accepted signature for $t key with bad signers option" 110 fail "accepted signature for $t key with wrong key trusted" 118 fail "passed signature for wrong data with $t key" 126 fail "accepted signature for $t key with wrong principal" [all …]
|
| H A D | sftp-badcmds.sh | 15 || fail "get nonexistent failed" 16 test -f ${COPY} && fail "existing copy after get nonexistent" 21 || fail "get nonexistent failed" 23 test -f ${COPY}.dd/$x && fail "existing copy after get nonexistent" 29 || fail "put nonexistent failed" 30 test -f ${COPY} && fail "existing copy after put nonexistent" 35 || fail "put nonexistent failed" 37 test -f ${COPY}.dd/$x && fail "existing copy after nonexistent" 43 || fail "rename nonexist failed" 44 test -f ${COPY}.1 && fail "file exists after rename nonexistent" [all …]
|
| /src/crypto/openssl/test/ |
| H A D | quic_wire_test.c | 24 int (*deserializer)(PACKET *pkt, ossl_ssize_t fail); 36 static int encode_case_1_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_1_dec() argument 38 if (fail >= 0) in encode_case_1_dec() 62 static int encode_case_2_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_2_dec() argument 65 if (!TEST_int_eq(ossl_quic_wire_decode_frame_ping(pkt), fail < 0)) in encode_case_2_dec() 96 static int encode_case_3_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_3_dec() argument 107 if (fail < 0 && !TEST_int_eq(ret, 1)) in encode_case_3_dec() 110 if (!TEST_int_eq(ossl_quic_wire_decode_frame_ack(pkt, 3, &f, &total_ranges), fail < 0)) in encode_case_3_dec() 116 if (fail >= 0) in encode_case_3_dec() 187 static int encode_case_4_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_4_dec() argument [all …]
|
| /src/contrib/libfido2/examples/ |
| H A D | util.c | 59 goto fail; in write_blob() 64 goto fail; in write_blob() 68 goto fail; in write_blob() 72 fail: in write_blob() 92 goto fail; in read_blob() 96 goto fail; in read_blob() 100 goto fail; in read_blob() 105 goto fail; in read_blob() 109 goto fail; in read_blob() 113 goto fail; in read_blob() [all …]
|
| /src/contrib/expat/tests/ |
| H A D | alloc_tests.c | 74 fail("Parser not created"); in alloc_setup() 104 fail("Parse succeeded despite failing allocator"); in START_TEST() 106 fail("Parse failed with max allocations"); in START_TEST() 150 fail("Parse succeeded despite failing allocator"); in START_TEST() 152 fail("Parse failed with max allocations"); in START_TEST() 177 fail("Parse succeeded despite failing allocator"); in START_TEST() 179 fail("Parse failed with max allocations"); in START_TEST() 203 fail("Parse succeeded despite failing allocator"); in START_TEST() 205 fail("Parse failed with max allocations"); in START_TEST() 244 fail("Parse succeeded despite failing allocator"); in START_TEST() [all …]
|
| H A D | nsalloc_tests.c | 67 fail("Parser not created"); in nsalloc_setup() 101 fail("Parsing worked despite failing allocations"); in START_TEST() 103 fail("Parsing failed even at maximum allocation count"); in START_TEST() 115 fail("Pre-init XML_ParseBuffer not faulted"); in START_TEST() 117 fail("Pre-init XML_ParseBuffer faulted for wrong reason"); in START_TEST() 121 fail("Could not acquire parse buffer"); in START_TEST() 125 fail("Pre-init XML_ParseBuffer not faulted"); in START_TEST() 127 fail("Pre-init XML_ParseBuffer faulted for wrong reason"); in START_TEST() 136 fail("Resuming unsuspended parser not faulted"); in START_TEST() 145 fail("Could not acquire parse buffer"); in START_TEST() [all …]
|
| /src/tools/regression/sockets/kqueue/ |
| H A D | kqueue.c | 60 fail(int error, const char *func, const char *socktype, const char *rest) in fail() function 112 fail(errno, "kevent", socktype, "EVFILT_READ, EV_ADD"); in test_evfilt_read() 122 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() 135 fail(errno, "write", socktype, NULL); in test_evfilt_read() 148 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() 160 fail(errno, "read", socktype, NULL); in test_evfilt_read() 173 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() 182 fail(errno, "kevent", socktype, "EVFILT_READ, EV_DELETE"); in test_evfilt_read() 197 fail(errno, "kevent", socktype, "EVFILT_WRITE, EV_ADD"); in test_evfilt_write() 207 fail(errno, "kevent", socktype, "EVFILT_WRITE"); in test_evfilt_write() [all …]
|
| /src/contrib/sendmail/test/ |
| H A D | t_setreuid.c | 48 int fail = 0; local 67 fail++; 74 fail++; 80 fail++; 88 fail++; 94 fail++; 101 fail++; 106 fail++; 113 fail++; 120 fail++; [all …]
|
| H A D | t_seteuid.c | 51 int fail = 0; local 74 fail++; 82 fail++; 89 fail++; 94 fail++; 101 fail++; 108 fail++; 116 fail++; 123 fail++; 128 fail++; [all …]
|
| /src/contrib/libfido2/tools/ |
| H A D | util.c | 225 goto fail; in read_ec_pubkey() 230 goto fail; in read_ec_pubkey() 234 goto fail; in read_ec_pubkey() 237 fail: in read_ec_pubkey() 257 goto fail; in write_es256_pubkey() 262 goto fail; in write_es256_pubkey() 267 goto fail; in write_es256_pubkey() 272 goto fail; in write_es256_pubkey() 276 fail: in write_es256_pubkey() 295 goto fail; in write_es384_pubkey() [all …]
|
| /src/contrib/libfido2/src/ |
| H A D | u2f.c | 76 goto fail; in x5c_get() 84 goto fail; in x5c_get() 91 goto fail; in x5c_get() 95 fail: in x5c_get() 163 goto fail; in send_dummy_register() 169 goto fail; in send_dummy_register() 177 goto fail; in send_dummy_register() 182 goto fail; in send_dummy_register() 187 goto fail; in send_dummy_register() 192 fail: in send_dummy_register() [all …]
|
| H A D | pin.c | 45 goto fail; in pin_sha256_enc() 51 goto fail; in pin_sha256_enc() 59 goto fail; in pin_sha256_enc() 63 fail: in pin_sha256_enc() 106 goto fail; in pin_pad64_enc() 111 goto fail; in pin_pad64_enc() 117 goto fail; in pin_pad64_enc() 121 fail: in pin_pad64_enc() 165 goto fail; in ctap20_uv_token_tx() 172 goto fail; in ctap20_uv_token_tx() [all …]
|
| H A D | hid_win.c | 54 goto fail; in is_fido() 59 goto fail; in is_fido() 63 fail: in is_fido() 80 goto fail; in get_report_len() 85 goto fail; in get_report_len() 95 goto fail; in get_report_len() 99 fail: in get_report_len() 135 goto fail; in get_manufacturer() 141 goto fail; in get_manufacturer() 146 goto fail; in get_manufacturer() [all …]
|
| H A D | es256.c | 81 goto fail; in es256_pk_encode() 87 goto fail; in es256_pk_encode() 104 goto fail; in es256_pk_encode() 110 goto fail; in es256_pk_encode() 116 goto fail; in es256_pk_encode() 122 goto fail; in es256_pk_encode() 125 fail: in es256_pk_encode() 237 goto fail; in es256_sk_create() 243 goto fail; in es256_sk_create() 251 goto fail; in es256_sk_create() [all …]
|
| /src/contrib/bmake/unit-tests/ |
| H A D | opt-debug-errors-jobs.mk | 8 all: fail-spaces 9 all: fail-escaped-space 10 all: fail-newline 11 all: fail-multiline 12 all: fail-multiline-intention 13 all: fail-vars 15 fail-spaces: 18 fail-escaped-space: 21 fail-newline: 26 fail-multiline: [all …]
|
| H A D | opt-debug-errors.mk | 8 all: fail-spaces 9 all: fail-escaped-space 10 all: fail-newline 11 all: fail-multiline 12 all: fail-multiline-intention 16 fail-spaces: 21 fail-escaped-space: 25 fail-newline: 30 fail-multiline: 40 fail-multiline-intention:
|
| /src/contrib/wpa/src/common/ |
| H A D | dpp_reconfig.c | 58 goto fail; in dpp_build_reconfig_announcement() 65 goto fail; in dpp_build_reconfig_announcement() 71 goto fail; in dpp_build_reconfig_announcement() 78 goto fail; in dpp_build_reconfig_announcement() 84 goto fail; in dpp_build_reconfig_announcement() 90 goto fail; in dpp_build_reconfig_announcement() 98 goto fail; in dpp_build_reconfig_announcement() 122 fail: in dpp_build_reconfig_announcement() 201 goto fail; in dpp_configurator_build_own_connector() 206 goto fail; in dpp_configurator_build_own_connector() [all …]
|
| /src/contrib/one-true-awk/testdir/ |
| H A D | T.split | 13 fail() { function 35 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.1' 45 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.2' 62 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.3' 73 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.4' 87 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.5' 96 diff $TEMP1 $TEMP2 || fail 'BAD: T.split (record assignment 1)' 108 diff $TEMP1 $TEMP2 || fail 'BAD: T.split (record assignment 2)' 129 diff $TEMP0 $TEMP1 || fail 'BAD: T.split 1' 145 diff $TEMP0 $TEMP1 || fail 'BAD: T.split //' [all …]
|
| /src/crypto/openssh/openbsd-compat/regress/ |
| H A D | utimensattest.c | 46 fail(char *msg, long expect, long got) in fail() function 69 fail("open", 0, 0); in main() 77 fail("utimensat", 0, 0); in main() 80 fail("stat", 0, 0 ); in main() 82 fail("st_atime", 0, 0 ); in main() 84 fail("st_mtime", 0, 0 ); in main() 92 fail("atim.tv_nsec", 23456000, sb.st_atim.tv_nsec); in main() 94 fail("mtim.tv_nsec", 45678000, sb.st_mtim.tv_nsec); in main() 105 fail("rename", 0, 0); in main() 107 fail("symlink", 0, 0); in main() [all …]
|
| /src/contrib/netbsd-tests/lib/libutil/ |
| H A D | t_efun.c | 41 static bool fail; variable 47 fail = false; in handler() 60 fail = true; in ATF_TC_BODY() 64 ATF_REQUIRE(fail != true); in ATF_TC_BODY() 66 fail = true; in ATF_TC_BODY() 70 ATF_REQUIRE(fail != true); in ATF_TC_BODY() 83 fail = true; in ATF_TC_BODY() 87 ATF_REQUIRE(fail != true); in ATF_TC_BODY() 100 fail = true; in ATF_TC_BODY() 104 ATF_REQUIRE(fail != true); in ATF_TC_BODY() [all …]
|