git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] [Outreachy PATCH] t2030: modernize test path checks

From
Harald Nordgren <haraldnordgren@gmail.com>
Date
Oct 16, 2026, 08:36 UTC
Message-ID
<CAHwyqnWT9f0FvthhsPcRb+c7j7xb1LBxGxxBheb_ddfcUqij+A@mail.gmail.com>
In-Reply-To
<pull.2256.v2.git.1792135548923.gitgitgadget@gmail.com>
Show 10 quoted lines
> +       test_path_is_file .git/rr-cache/$rerere_id/postimage &&
>         git checkout -m fi/le &&
>         echo resurrect the conflict &&
>         test_grep "^=======" fi/le &&
> @@ -182,7 +182,7 @@ test_expect_success 'rerere and rerere forget' '
>         check_resolve_undo kept fi/le initial:fi/le second:fi/le third:fi/le &&
>         test -z "$(git ls-files -u)" &&
>         git rerere forget fi/le &&
> -       ! test -f .git/rr-cache/$rerere_id/postimage &&
> +       test_path_is_missing .git/rr-cache/$rerere_id/postimage &&

Seems like a good change, but there are lots of these calls in the codebase. Maybe change the others ones too, while you're at it?

Harald
Previous: Srujith A Poojary via GitGitGadgetNext: Srujith Poojary
Message 3 of 8 in “t2030: modernize test path checks”
  1. t2030: modernize test path checksSrujith A Poojary via GitGitGadget, Oct 14, 2026
  2. [Outreachy PATCH] t2030: modernize test path checksSrujith A Poojary via GitGitGadget, Oct 16, 2026
  3. Harald NordgrenOct 16, 2026
  4. Srujith PoojaryOct 16, 2026
  5. Usman AkinyemiOct 16, 2026
  6. Srujith PoojaryOct 16, 2026
  7. Usman AkinyemiOct 16, 2026
  8. [Outreachy PATCH] t2030: modernize test path checksSrujith A Poojary via GitGitGadget, Oct 18, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.