Re: [PATCH 1/2] test-lib: prevent misuses of --invert-exit-code
From: Eric Sunshine <hidden>
Date: 2023-09-10 01:59:53
From: Eric Sunshine <hidden>
Date: 2023-09-10 01:59:53
On Sat, Sep 9, 2023 at 7:08 PM Rubén Justo [off-list ref] 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 <redacted>