From: Rubén Justo Date: Sun, 10 Sep 2023 22:58:31 GMT Subject: Re: [PATCH 1/2] test-lib: prevent misuses of --invert-exit-code Message-ID: <577cc92e-9f21-55a8-7389-5f94b1ae9a98@gmail.com> In-Reply-To: On 10/9/23 3:59, Eric Sunshine wrote: > On Sat, Sep 9, 2023 at 7:08 PM Rubén Justo wrote: >> GIT_TEST_PASSING_SANITIZE_LEAK=true and GIT_TEST_SANITIZE_LEAK_LOG=true >> use internnlly the --invert-exit-code machinery. Therefore if the user > > s/internnlly/internally/ Thanks! > >> wants to use --invert-exit-code in combination with them, the result >> will be confusing. >> >> For the same reason, we are already using BAIL_OUT if the user tries to >> combine GIT_TEST_PASSING_SANITIZE_LEAK=check with --invert-exit-code. >> >> Let's do the same for GIT_TEST_PASSING_SANITIZE_LEAK=true and >> GIT_TEST_SANITIZE_LEAK_LOG=true. >> >> Signed-off-by: Rubén Justo