Re: [PATCH v2 09/13] git-p4: use `test_atexit` to kill the daemon
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Oct 16, 2018, 03:34 UTC
- Message-ID
- <CAPig+cQp1jpcQGjvMkCAypQZO_95R5yQDT8Fm=Du2pBOe4Pgbw@mail.gmail.com>
- In-Reply-To
- <3e2193a73de0b68d5a38f1792642c828f4aed1db.1539598316.git.gitgitgadget@gmail.com>
On Mon, Oct 15, 2018 at 6:12 AM Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 17 quoted lines
> This should be more reliable than the current method, and prepares the
> test suite for a consistent way to clean up before re-running the tests
> with different options.
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
> diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh
> @@ -134,6 +134,7 @@ check_sub_test_lib_test_err () {
> +cat >/dev/null <<\DDD
> test_expect_success 'pretend we have a fully passing test suite' "
> run_sub_test_lib_test full-pass '3 passing tests' <<-\\EOF &&
> for i in 1 2 3
> @@ -820,6 +821,7 @@ test_expect_success 'tests clean up even on failures' "
> > 1..2
> EOF
> "
> +DDDIs this "DDD" here-doc leftover debugging goop?