Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 1449) sorted by relevance

12345678910>>...58

/freebsd/contrib/netbsd-tests/include/
H A Dt_errno.c45 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 Dt_netdb.c45 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/crypto/openssh/regress/
H A Dsftp-cmds.sh32 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 Dscp.sh54 $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 Dagent.sh8 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 Dsshsig.sh57 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 Dsftp-badcmds.sh15 || 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/contrib/libfido2/examples/
H A Dutil.c59 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/contrib/expat/tests/
H A Dalloc_tests.c67 fail("Parser not created"); in alloc_setup()
97 fail("Parse succeeded despite failing allocator"); in START_TEST()
99 fail("Parse failed with max allocations"); in START_TEST()
143 fail("Parse succeeded despite failing allocator"); in START_TEST()
145 fail("Parse failed with max allocations"); in START_TEST()
170 fail("Parse succeeded despite failing allocator"); in START_TEST()
172 fail("Parse failed with max allocations"); in START_TEST()
196 fail("Parse succeeded despite failing allocator"); in START_TEST()
198 fail("Parse failed with max allocations"); in START_TEST()
237 fail("Parse succeeded despite failing allocator"); in START_TEST()
[all …]
H A Dnsalloc_tests.c67 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 …]
/freebsd/tools/regression/sockets/kqueue/
H A Dkqueue.c60 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/contrib/sendmail/test/
H A Dt_setreuid.c48 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 Dt_seteuid.c51 int fail = 0; local
74 fail++;
82 fail++;
89 fail++;
94 fail++;
101 fail++;
108 fail++;
116 fail++;
123 fail++;
128 fail++;
[all …]
/freebsd/contrib/libfido2/tools/
H A Dutil.c225 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/contrib/libfido2/src/
H A Du2f.c76 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 Dpin.c45 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 Dhid_win.c54 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 Des256.c81 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 …]
/freebsd/contrib/bmake/unit-tests/
H A Dopt-debug-errors-jobs.mk8 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 Dopt-debug-errors.mk8 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:
/freebsd/contrib/wpa/src/common/
H A Ddpp_reconfig.c58 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/contrib/one-true-awk/testdir/
H A DT.split13 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 …]
/freebsd/crypto/openssh/openbsd-compat/regress/
H A Dutimensattest.c46 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 …]
/freebsd/tests/sys/file/
H A Dclosefrom_test.c64 fail(const char *descr, const char *fmt, ...) in fail() function
80 #define fail_err(descr) fail((descr), "%s", strerror(errno))
152 fail("open", "bad descriptor %d", start); in main()
158 fail("highest_fd", "bad descriptor %d != %d", start, fd); in main()
165 fail("closefrom", "highest fd %d", fd); in main()
173 fail("open 16", "highest fd %d", fd); in main()
180 fail("closefrom", "highest fd %d", fd); in main()
190 fail("close(6)", "did not fail"); in main()
195 fail("close(8)", "did not fail"); in main()
204 fail("closefrom", "highest fd %d", fd); in main()
[all …]
/freebsd/contrib/netbsd-tests/lib/libutil/
H A Dt_efun.c41 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 …]

12345678910>>...58