Home
last modified time | relevance | path

Searched refs:FAIL (Results 1 – 25 of 220) sorted by relevance

123456789

/freebsd/contrib/bmake/unit-tests/
H A Dvar-eval-short.mk14 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}}
46 .if 0 && ${:Uword:@${FAIL}@expr@}
49 .if 0 && ${:Uword:@var@${FAIL}@}
55 .if 0 && ${:Uword:[${FAIL}]}
74 .if 0 && ${:Uword:C,${FAIL}****,,}
[all …]
H A Dvar-eval-short.exp1 …sing "${:Uword:@${FAIL}@expr@}": In the :@ modifier, the variable name "${FAIL}" must not contain …
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}then:${FAIL}else} (parse)
8 Modifier part: "${FAIL}then"
9 Var_Parse: ${FAIL}else} (parse)
10 Modifier part: "${FAIL}else"
11 Result of ${0:?${FAIL}then:${FAIL}else} is "" (parse, defined)
14 Parsing line 168: .if 0 && ${DEFINED:L:?${FAIL}then:${FAIL}else}
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-failfast-unittest_.cc49 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 …]
H A Dgoogletest-filter-unittest_.cc49 TEST_F(FooTest, Xyz) { FAIL() << "Expected failure."; } in TEST_F()
59 TEST(BarTest, DISABLED_TestFour) { FAIL() << "Expected failure."; } in TEST()
61 TEST(BarTest, DISABLED_TestFive) { FAIL() << "Expected failure."; } in TEST()
65 TEST(BazTest, TestOne) { FAIL() << "Expected failure."; } in TEST()
71 TEST(BazTest, DISABLED_TestC) { FAIL() << "Expected failure."; } in TEST()
83 TEST(DISABLED_FoobarTest, Test1) { FAIL() << "Expected failure."; } in TEST()
85 TEST(DISABLED_FoobarTest, DISABLED_Test2) { FAIL() << "Expected failure."; } in TEST()
89 TEST(DISABLED_FoobarbazTest, TestA) { FAIL() << "Expected failure."; } in TEST()
H A Dgoogletest-output-test_.cc75 FAIL() << "This should never be reached."; in TryTestSubroutine()
137 FAIL() << "This should never be reached."; in TEST()
403 void Init() { FAIL() << "Expected failure #1, in the test fixture c'tor."; } in Init()
422 void TearDown() override { FAIL() << "Expected failure #3, in TearDown()."; } in TearDown()
425 void Deinit() { FAIL() << "Expected failure #4, in the test fixture d'tor."; } in Deinit()
429 FAIL() << "Expected failure #2, in the test function."; in TEST_F()
439 FAIL() << "Expected failure #1, in SetUp()."; in SetUp()
442 void TearDown() override { FAIL() << "Expected failure #2, in TearDown()."; } in TearDown()
445 void Deinit() { FAIL() << "Expected failure #3, in the test fixture d'tor."; } in Deinit()
449 FAIL() << "UNEXPECTED failure in the test function. " in TEST_F()
[all …]
H A Dgtest_xml_output_unittest_.cc69 FAIL() << "Unexpected failure: Disabled test should not be run"; in TEST_F()
99 FAIL() << "Unexpected failure: Disabled test should not be run"; in TEST()
103 FAIL() << "XML output: " in TEST()
110 FAIL() << "Invalid characters in brackets [\x1\x2]"; in TEST()
/freebsd/contrib/netbsd-tests/net/net/
H A Dt_unix.c64 #define FAIL(msg, ...) err(EXIT_FAILURE, msg, ## __VA_ARGS__) macro
68 #define FAIL(msg, ...) \ macro
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()
150 FAIL("socket(srvrer)"); in test()
[all …]
H A Dt_tcp.c58 #define FAIL(msg, ...) err(EXIT_FAILURE, msg, ## __VA_ARGS__) macro
61 #define FAIL(msg, ...) ATF_CHECK_MSG(0, msg, ## __VA_ARGS__); goto fail macro
85 FAIL("socket"); in paccept_block()
96 FAIL("bind"); in paccept_block()
101 FAIL("getsockname"); in paccept_block()
105 FAIL("listen"); in paccept_block()
109 FAIL("socket"); in paccept_block()
114 FAIL("expected connect to fail"); in paccept_block()
118 FAIL("connect failed"); in paccept_block()
123 FAIL("fnctl getfl"); in paccept_block()
[all …]
/freebsd/tests/sys/file/
H A Dflock_helper.c128 #define FAIL(test) \ macro
160 FAIL(fl1.l_start != fl2.l_start); in test1()
161 FAIL(fl1.l_len != fl2.l_len); in test1()
162 FAIL(fl1.l_pid != fl2.l_pid); in test1()
163 FAIL(fl1.l_type != F_UNLCK); in test1()
164 FAIL(fl1.l_whence != fl2.l_whence); in test1()
166 FAIL(fl1.l_sysid != fl2.l_sysid); in test1()
234 FAIL(res == 0); in test2()
235 FAIL(errno != EACCES && errno != EAGAIN); in test2()
308 FAIL(res == 0); in test3()
[all …]
/freebsd/tools/regression/security/cap_test/
H A Dcap_test_capmode.c57 FAIL("capmode: %s failed with ECAPMODE", #syscall); \
159 FAIL("capmode:waitpid"); in test_capmode()
161 FAIL("capmode:waitpid succeeded"); in test_capmode()
164 FAIL("capmode:fork"); in test_capmode()
167 FAIL("test_sycalls:getlogin %d", errno); in test_capmode()
171 FAIL("capmode:getsockname"); in test_capmode()
180 FAIL("capmode:pipe"); in test_capmode()
189 FAIL("capmode:no sysarch() test for current architecture"); in test_capmode()
H A Dcap_test.h48 #define FAIL(...) do { \ macro
69 FAIL("%s() at line %d: %s failed", \
77 FAIL("%s() at line %d: %s", \
89 FAIL("%s() at line %d: %s", \
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_tnc.c19 FAIL enumerator
56 case FAIL: in eap_tnc_state_txt()
114 eap_tnc_set_state(data, FAIL); in eap_tnc_build_start()
182 eap_tnc_set_state(data, FAIL); in eap_tnc_build_recommendation()
186 eap_tnc_set_state(data, FAIL); in eap_tnc_build_recommendation()
261 eap_tnc_set_state(data, FAIL); in eap_tnc_build_msg()
269 if (data->state == FAIL) in eap_tnc_build_msg()
315 case FAIL: in eap_tnc_buildReq()
389 eap_tnc_set_state(data, FAIL); in tncs_process()
403 eap_tnc_set_state(data, FAIL); in eap_tnc_process_cont()
[all …]
H A Deap_server_wsc.c20 enum { START, MESG, FRAG_ACK, WAIT_FRAG_ACK, DONE, FAIL } state; enumerator
46 case FAIL: in eap_wsc_state_txt()
300 eap_wsc_state(data, FAIL); in eap_wsc_process_cont()
306 eap_wsc_state(data, FAIL); in eap_wsc_process_cont()
363 eap_wsc_state(data, FAIL); in eap_wsc_process()
400 eap_wsc_state(data, FAIL); in eap_wsc_process()
412 eap_wsc_state(data, FAIL); in eap_wsc_process()
418 eap_wsc_state(data, FAIL); in eap_wsc_process()
426 eap_wsc_state(data, FAIL); in eap_wsc_process()
443 eap_wsc_state(data, FAIL); in eap_wsc_process()
[all …]
H A Deap_server_ikev2.c19 enum { MSG, FRAG_ACK, WAIT_FRAG_ACK, DONE, FAIL } state; enumerator
65 case FAIL: in eap_ikev2_state_txt()
285 eap_ikev2_state(data, FAIL); in eap_ikev2_process_cont()
377 eap_ikev2_state(data, FAIL); in eap_ikev2_process()
384 eap_ikev2_state(data, FAIL); in eap_ikev2_process()
394 eap_ikev2_state(data, FAIL); in eap_ikev2_process()
405 eap_ikev2_state(data, FAIL); in eap_ikev2_process()
414 eap_ikev2_state(data, FAIL); in eap_ikev2_process()
421 eap_ikev2_state(data, FAIL); in eap_ikev2_process()
439 eap_ikev2_state(data, FAIL); in eap_ikev2_process()
[all …]
/freebsd/contrib/arm-optimized-routines/math/test/
H A Drunulp.sh19 FAIL=0
51 …ulp -e $L $flags $extra_flags -r $r $c_arg $routine $ITV $n && PASS=$((PASS+1)) || FAIL=$((FAIL+1))
102 [ 0 -eq $FAIL ] || {
103 echo "FAILED $FAIL PASSED $PASS"
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dtinytest.c79 enum outcome { SKIP=2, OK=1, FAIL=0 }; enumerator
103 ExitThread(cur_test_outcome == FAIL ? 1 : 0); in timeout_thread_proc_()
139 return FAIL; in testcase_run_in_thread_()
161 return FAIL; in testcase_run_bare_()
184 outcome = FAIL; in testcase_run_bare_()
231 return FAIL; in testcase_run_forked_()
250 return FAIL; in testcase_run_forked_()
279 return FAIL; /* unreachable */ in testcase_run_forked_()
290 return FAIL; in testcase_run_forked_()
302 return FAIL; in testcase_run_forked_()
[all …]
/freebsd/contrib/libevent/test/
H A Dtinytest.c79 enum outcome { SKIP=2, OK=1, FAIL=0 }; enumerator
103 ExitThread(cur_test_outcome == FAIL ? 1 : 0); in timeout_thread_proc_()
139 return FAIL; in testcase_run_in_thread_()
161 return FAIL; in testcase_run_bare_()
184 outcome = FAIL; in testcase_run_bare_()
231 return FAIL; in testcase_run_forked_()
250 return FAIL; in testcase_run_forked_()
279 return FAIL; /* unreachable */ in testcase_run_forked_()
290 return FAIL; in testcase_run_forked_()
302 return FAIL; in testcase_run_forked_()
[all …]
/freebsd/contrib/sendmail/test/
H A DResults29 Solaris 2.2 FAIL 93.07.19 Bill Wisner
30 Solaris 2.3 FAIL 95.11.22 Scott J. Kramer <sjk@lux.com>
43 AIX 3.1.5 FAIL 93.08.07 David J. N. Begley
44 AIX 3.2.3e FAIL 93.07.26 Steve Bauer <sbauer@silver.sdsmt.edu>
45 AIX 3.2.4 FAIL 93.10.07 David J. N. Begley
46 AIX 3.2.5 FAIL 94.05.17 Steve Bauer <sbauer@hpcmmib.hpc.sdsmt.edu>
47 AIX 4.1 FAIL 96.10.21 Hakan Lindholm <hakan@af.lu.se>
90 Linux 1.2.13 FAIL 95.11.02 Sven Neuhaus <sven@ping.de>
91 Linux 2.0.17 FAIL 96.09.03 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
92 Linux 2.1.109 FAIL 98.07.21 John Kennedy <jk@csuchico.edu>
[all …]
/freebsd/contrib/less/
H A Dregexp.c146 #define FAIL(m) { regerror(m); return(NULL); } macro
219 FAIL("NULL argument");
232 FAIL("regexp too big");
237 FAIL("out of space");
312 FAIL("too many ()");
351 FAIL("unmatched ()");
354 FAIL("unmatched ()");
356 FAIL("junk on end"); /* "Can't happen". */
425 FAIL("*+ operand could be empty");
456 FAIL("neste
[all...]
/freebsd/tests/sys/netgraph/
H A Dhub.c53 ng_errors(FAIL); in ATF_TC_BODY()
106 ng_errors(FAIL); in ATF_TC_BODY()
133 ng_errors(FAIL); in ATF_TC_BODY()
193 ng_errors(FAIL); in ATF_TC_BODY()
209 ng_errors(FAIL); in ATF_TC_BODY()
H A Dbridge.c94 ng_errors(FAIL); in ATF_TC_BODY()
175 ng_errors(FAIL); in ATF_TC_BODY()
201 ng_errors(FAIL); in ATF_TC_BODY()
240 ng_errors(FAIL); in ATF_TC_BODY()
266 ng_errors(FAIL); in ATF_TC_BODY()
297 ng_errors(FAIL); in ATF_TC_BODY()
309 ng_errors(FAIL); in ATF_TC_BODY()
337 ng_errors(FAIL); in ATF_TC_BODY()
368 ng_errors(FAIL); in ATF_TC_BODY()
400 ng_errors(FAIL); in ATF_TC_BODY()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/
H A Dtst.kpriv.ksh32 BEGIN { badsubr = "func()"; func((void *)&\`utsname); FAIL }
35 BEGIN { badsubr = "func()"; func((void *)&\`utsname, arg1); FAIL }
38 BEGIN { badsubr = "func() (arg1)"; func(arg0, (void *)&\`utsname); FAIL }
41 BEGIN { badsubr = "func()"; func((void *)&\`utsname, arg1, arg2); FAIL }
/freebsd/usr.bin/bmake/tests/
H A Dcommon.sh39 FAIL=
47 FAIL=yes
53 if [ ! -z "${FAIL}" ] ; then
398 FAIL=
439 FAIL=
/freebsd/sbin/restore/
H A Dutilities.c204 return (FAIL); in linkit()
225 return (FAIL); in linkit()
230 return (FAIL); in linkit()
247 return (FAIL); in addwhiteout()
390 return (FAIL); in reply()
394 return (FAIL); in reply()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_wsc.c20 enum { WAIT_START, MESG, WAIT_FRAG_ACK, FAIL } state; enumerator
41 case FAIL: in eap_wsc_state_txt()
358 if ((data->state == FAIL && data->out_op_code == WSC_ACK) || in eap_wsc_build_msg()
361 eap_wsc_state(data, FAIL); in eap_wsc_build_msg()
390 eap_wsc_state(data, FAIL); in eap_wsc_process_cont()
547 eap_wsc_state(data, FAIL); in eap_wsc_process()
555 eap_wsc_state(data, FAIL); in eap_wsc_process()
569 eap_wsc_state(data, FAIL); in eap_wsc_process()
579 if (data->state == FAIL && ret->methodState == METHOD_DONE) { in eap_wsc_process()

123456789