From: Eric Sunshine Date: Sun, 10 Sep 2023 01:59:37 GMT Subject: Re: [PATCH 1/2] test-lib: prevent misuses of --invert-exit-code Message-ID: In-Reply-To: <1a60a1ca-0ef0-ecf5-d0aa-a28d7c148a82@gmail.com> 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/ > 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