/freebsd-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 …]
|
/freebsd-src/contrib/bmake/unit-tests/ |
H A D | var-eval-short.exp | 1 make: "var-eval-short.mk" line 46: while parsing "${:Uword:@${FAIL}@expr@}": In the :@ modifier, the variable name "${FAIL}" must not contain a dollar 2 make: "var-eval-short.mk" line 46: Malformed conditional (0 && ${:Uword:@${FAIL}@expr@}) 3 Parsing line 159: .if 0 && ${0:?${FAIL}then:${FAIL}else} 4 CondParser_Eval: 0 && ${0:?${FAIL}then:${FAIL}else} 5 Var_Parse: ${0:?${FAIL}then:${FAIL}else} (parse) 7 Var_Parse: ${FAIL}the [all...] |
H A D | var-eval-short.mk | 14 FAIL= ${:!echo unexpected 1>&2!} 23 .if 0 && ${FAIL} 26 .if 0 && ${VAR::=${FAIL}} 31 .if 0 && ${${FAIL}:?then:else} 34 .if 0 && ${1:?${FAIL}:${FAIL}} 37 .if 0 && ${0:?${FAIL}:${FAIL}} 40 # Before var.c 1.870 from 2021-03-14, the expression ${FAIL} was evaluated 44 # expect+2: while parsing "${:Uword:@${FAIL} [all...] |
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-jobs.exp | 4 *** Failed target: fail-spaces 8 *** [fail-spaces] Error code 1 14 *** Failed target: fail-escaped-space 18 *** [fail-escaped-space] Error code 1 26 *** Failed target: fail-newline 32 *** [fail-newline] Error code 1 38 *** Failed target: fail-multiline 42 *** [fail-multiline] Error code 1 48 *** Failed target: fail-multiline-intention 52 *** [fail [all...] |
/freebsd-src/crypto/openssh/regress/ |
H A D | sftp-cmds.sh | 32 grep copy.dd >/dev/null 2>&1 || fail "lls failed" 36 grep copy.dd >/dev/null 2>&1 || fail "lls w/path failed" 40 || fail "ls failed" 45 || fail "shell failed" 50 || fail "pwd failed" 55 || fail "lpwd failed" 60 || fail "quit failed" 65 || fail "help failed" 71 || fail "get failed" 72 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 | multiplex.sh | 47 fail "environment not found" 56 fail "environment not found" 64 test -f ${COPY} || fail "ssh -Sctl: failed copy ${DATA}" 65 cmp ${DATA} ${COPY} || fail "ssh -Sctl: corrupted copy of ${DATA}" 70 test -f ${COPY} || fail "ssh -S ctl: failed copy ${DATA}" 71 cmp ${DATA} ${COPY} || fail "ssh -S ctl: corrupted copy of ${DATA}" 77 test -f ${COPY} || fail "sftp: failed copy ${DATA}" 78 cmp ${DATA} ${COPY} || fail "sftp: corrupted copy of ${DATA}" 83 test -f ${COPY} || fail "scp: failed copy ${DATA}" 84 cmp ${DATA} ${COPY} || fail "scp: corrupted copy of ${DATA}" [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 …]
|
/freebsd-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 …]
|
/freebsd-src/sys/contrib/openzfs/tests/test-runner/bin/ |
H A D | zts-report.py.in | 31 # Test: /path/to/testc (run as root) [00:00] [FAIL] 35 # FAIL 22 47 # Some test cases are known to fail in ways which are not harmful or dangerous. 86 # Some rewind tests can fail since nothing guarantees that old MOS blocks 137 # These tests are known to fail, thus we use this list to prevent these 148 'casenorm/mixed_none_lookup_ci': ['FAIL', 7633], 149 'casenorm/mixed_formd_lookup_ci': ['FAIL', 7633], 151 ['FAIL', rewind_reason], 156 'refreserv/refreserv_004_pos': ['FAIL', known_reason], 159 'vdev_zaps/vdev_zaps_007_pos': ['FAIL', known_reaso [all...] |
/freebsd-src/contrib/googletest/googletest/test/ |
H A D | googletest-failfast-unittest_.cc | 49 TEST_F(HasFixtureTest, Test1) { FAIL() << "Expected failure."; } in TEST_F() 51 TEST_F(HasFixtureTest, Test2) { FAIL() << "Expected failure."; } in TEST_F() 53 TEST_F(HasFixtureTest, Test3) { FAIL() << "Expected failure."; } in TEST_F() 55 TEST_F(HasFixtureTest, Test4) { FAIL() << "Expected failure."; } in TEST_F() 61 TEST(HasSimpleTest, Test1) { FAIL() << "Expected failure."; } in TEST() 63 TEST(HasSimpleTest, Test2) { FAIL() << "Expected failure."; } in TEST() 65 TEST(HasSimpleTest, Test3) { FAIL() << "Expected failure."; } in TEST() 67 TEST(HasSimpleTest, Test4) { FAIL() << "Expected failure."; } in TEST() 73 TEST(HasDisabledTest, DISABLED_Test1) { FAIL() << "Expected failure."; } in TEST() 75 TEST(HasDisabledTest, Test2) { FAIL() << "Expected failure."; } in TEST() [all …]
|
/freebsd-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...] |
/freebsd-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 | 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 …]
|
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 …]
|
/freebsd-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 …]
|
/freebsd-src/share/man/man9/ |
H A D | fail.9 | 44 .Nd fail points 59 Fail points are used to add code points where errors may be injected 61 Fail points provide a convenient wrapper around user-provided error 67 The base fail point macro is 73 for kernel fail points, but various subsystems may wish to provide 74 their own fail point trees), and 95 argument which controls the fail point's behaviour. 96 This can be used to e.g., mark the fail point's context as non-sleepable, 107 Mark the fail point as being in a non-sleepable context, which coerces 118 argument, which allows you to set the condition under which the fail point's [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARM/Disassembler/ |
H A D | ARMDisassembler.cpp | 726 return MCDisassembler::Fail; in checkDecodedInstruction() 797 return MCDisassembler::Fail; in getARMInstruction() 807 if (Result != MCDisassembler::Fail) { in getARMInstruction() 826 if (Result != MCDisassembler::Fail) { in getARMInstruction() 831 return MCDisassembler::Fail; in getARMInstruction() 838 if (Result != MCDisassembler::Fail) { in getARMInstruction() 844 return MCDisassembler::Fail; 1082 return MCDisassembler::Fail; in getThumbInstruction() 1089 if (Result != MCDisassembler::Fail) { in getThumbInstruction() 1107 if (Result != MCDisassembler::Fail) { in getThumbInstruction() [all...] |
/freebsd-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 …]
|
/freebsd-src/contrib/netbsd-tests/net/net/ |
H A D | t_unix.c | 64 #define FAIL(msg, ...) err(EXIT_FAILURE, msg, ## __VA_ARGS__) macro 68 #define FAIL(msg, ...) \ macro 71 goto fail; \ 112 FAIL("accept"); in acc() 114 FAIL("guard1 = '%c'", guard1); in acc() 116 FAIL("guard2 = '%c'", guard2); in acc() 121 FAIL("len %d != 2", len); in acc() 123 FAIL("sun->sun_family %d != AF_UNIX", sun.sun_family); in acc() 126 FAIL("sun->sun_len %d != 2", sun.sun_len); in acc() 130 FAIL("sun.sun_path[%zu] %d != NULL", i, in acc() [all …]
|