Home
last modified time | relevance | path

Searched refs:death (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/lib/googletest/tests/gtest/
H A DMakefile17 .for death_test in gtest-death-test_ex_catch_test gtest-death-test_ex_nocatch_test
19 ${death_test}.cc: googletest-death-test_ex_test.cc
25 CXXFLAGS.gtest-death-test_ex_catch_test+= \
28 CXXFLAGS.gtest-death-test_ex_nocatch_test+= \
/freebsd/contrib/one-true-awk/bugs-fixed/
H A Dsystem-status.ok22 death by signal status 265
3 death by signal with core dump status 262
/freebsd/contrib/googletest/googletest/test/
H A DBUILD.bazel54 "googletest-death-test_ex_test.cc",
75 "gtest-death-test_ex_test.cc",
107 # Tests death tests.
109 name = "googletest-death-test-test",
111 srcs = ["googletest-death-test-test.cc"],
583 # Verifies interaction of death tests and exceptions.
585 name = "googletest-death-test_ex_catch_test",
587 srcs = ["googletest-death-test_ex_test.cc"],
/freebsd/lib/googletest/gtest/
H A DMakefile16 MAIN_INCS+= gtest/gtest-death-test.h
29 INTERNAL_INCS+= gtest/internal/gtest-death-test-internal.h
/freebsd/contrib/googletest/docs/
H A Dfaq.md131 ## My death test modifies some state, but the change seems lost after the death test finishes. Why?
139 In particular, if you use mocking and the death test statement invokes some mock
258 ## My death test hangs (or seg-faults). How do I fix it?
260 In GoogleTest, death tests are run in a child process and the way they work is
261 delicate. To write death tests you really need to understand how they work—see
262 the details at [Death Assertions](reference/assertions.md#death) in the
265 In particular, death tests don't like having multiple threads in the parent
274 leaving as few things as possible in it. Also, you can try to set the death test
277 If you go with thread-safe death tests, remember that they rerun the test
453 `ASSERT_DEATH(statement, matcher)` (or any death assertion macro) can be used
[all …]
H A Dadvanced.md449 `GTEST_USES_SIMPLE_RE=1` or `GTEST_USES_POSIX_RE=1`. If you want your death
464 *death tests*. More generally, any test that checks that a program terminates
465 (except by throwing an exception) in an expected fashion is also a death test.
467 Note that if a piece of code throws an exception, we don't consider it "death"
468 for the purpose of death tests, as the caller of the code could catch the
477 GoogleTest provides assertion macros to support death tests. See
478 [Death Assertions](reference/assertions.md#death) in the Assertions Reference
481 To write a death test, simply use one of the macros inside your test function.
486 // This death test uses a compound statement.
511 Warning: If your death test contains mocks and is expecting a specific exit
[all …]
H A Dprimer.md377 > [death tests](advanced.md#death-tests)) and thus is not supported.
/freebsd/crypto/openssh/
H A Dssh-agent.c140 time_t death; member
1080 if (id->death == 0) in reaper()
1082 if (now >= id->death) { in reaper()
1088 deadline = (deadline == 0) ? id->death : in reaper()
1089 MINIMUM(deadline, id->death); in reaper()
1369 time_t death = 0; in process_add_identity() local
1383 if (parse_key_constraints(e->request, k, &death, &seconds, &confirm, in process_add_identity()
1427 if (lifetime && !death) in process_add_identity()
1428 death = monotime() + lifetime; in process_add_identity()
1448 id->death = death; in process_add_identity()
[all …]
/freebsd/contrib/googletest/googletest/
H A DCMakeLists.txt200 cxx_test(googletest-death-test-test gtest_main)
242 cxx_test_with_flags(gtest-death-test_ex_nocatch_test
244 gtest test/googletest-death-test_ex_test.cc)
245 cxx_test_with_flags(gtest-death-test_ex_catch_test
247 gtest test/googletest-death-test_ex_test.cc)
/freebsd/contrib/googletest/docs/reference/
H A Dassertions.md529 ## Death Assertions {#death}
532 terminate. For context, see [Death Tests](../advanced.md#death-tests).
541 * If the variable's value is `"fast"`, the death test statement is
545 extra flags to cause just the single death test under consideration to
548 re-executes the binary to cause just the single death test under
551 Other values for the variable are illegal and will cause the death test to fail.
555 If the death test statement runs to completion without dying, the child process
594 If death tests are supported, behaves the same as
/freebsd/lib/googletest/tests/gtest_main/
H A DMakefile5 GTESTS+= googletest-death-test-test
/freebsd/share/misc/
H A Dflowers6 Bay leaf:I change but in death.
/freebsd/sbin/init/
H A Dinit.c116 static state_func_t death(void);
1694 if (current_state == death) in get_current_state()
1757 requested_transition = death; in transition_handler()
1939 death(void) in death() function
H A DNOTES110 7: death: send SIGHUP to all controlling processes, reap for 30 seconds,
/freebsd/contrib/atf/atf-sh/
H A Dlibatf-sh.subr157 # Sets the expectations to 'death'.
163 Expect=death
711 death)
/freebsd/contrib/googletest/
H A DBUILD.bazel161 # `gtest-death-test.cc` has `EXPECT_DEATH` that spawns a process,
H A DREADME.md57 Googletest supports death tests, which verify that your code exits in a
/freebsd/share/dict/
H A Dweb2a15873 death adder
15874 death agony
15875 death alder
15876 death angel
15877 death angle
15878 death-bearing
15881 death-begirt
15882 death bell
15883 death benefit
15884 death bill
[all …]
/freebsd/usr.bin/m4/TEST/
H A Dtest.m4182 determine that the injury or death occurred due to the traveler's
/freebsd/contrib/one-true-awk/testdir/
H A Dbib530 …m a good way off, as it were a bow shot: for she said, Let me not see the death of the child. And …
659 …bekah, and she became his wife; and he loved her: and Isaac was comforted after his mother's death.
670 And it came to pass after the death of Abraham, that God blessed his son Isaac; and Isaac dwelt by …
704 …charged all his people, saying, He that toucheth this man or his wife shall surely be put to death.
711 …ays of Abraham his father; for the Philistines had stopped them after the death of Abraham: and he…
730 And he said, Behold now, I am old, I know not the day of my death:
735 … venison, and make me savoury meat, that I may eat, and bless thee before the LORD before my death.
738 And thou shalt bring it to thy father, that he may eat, and that he may bless thee before his death.
1795 …y sin only this once, and intreat the LORD your God, that he may take away from me this death only.
2039 …to the mount, or touch the border of it: whosoever toucheth the mount shall be surely put to death:
[all …]
/freebsd/contrib/kyua/integration/
H A Dcmd_test_test.sh166 expect_all_pass:die -> expected_failure: This is the reason for death [S.UUUs]
/freebsd/contrib/ntp/ntpq/
H A Dntpq.texi489 The original purpose was for kiss-o'-death (KoD) packets sent
H A Dntpq-opts.def800 The original purpose was for kiss-o'-death (KoD) packets
/freebsd/contrib/ntp/ntpd/
H A Dntp.conf.def1469 for this purpose called the "kiss-of-death" (KoD) packet.
1515 and a kiss-o'-death packet returned if enabled.
1592 If this flag is set when a rate violation occurs, a kiss-o'-death
H A Dinvoke-ntp.conf.texi1402 for this purpose called the "kiss-of-death" (KoD) packet.
1444 and a kiss-o'-death packet returned if enabled.
1516 If this flag is set when a rate violation occurs, a kiss-o'-death

12