Re: [PATCH v2 2/7] t6600: add test cases for side-exhaustion edge cases
- From
Kristofer Karlsson <krka@spotify.com>
- Date
- Jun 24, 2026, 14:33 UTC
- Message-ID
- <CAL71e4MCXUnRddRVGT2jcN2YT7bbfkOmFEdriQXNPk+9W_oLtg@mail.gmail.com>
- In-Reply-To
- <b4b33635-1279-46c0-819a-d29cc13921f5@gmail.com>
On Wed, 24 Jun 2026 at 15:43, Derrick Stolee <stolee@gmail.com> wrote:
Show 14 quoted lines
> > One way to make these tests have potential to check exact stats > without too much extra work would be to update 'test_all_modes' > to run each command with GIT_TRACE2_EVENT set to a known trace > file (reset each time) that can then be checked after verifying > that the results of each command is the same. > > Then, these tests could have lines such as > > test_trace2_data paint_down_to_common steps 20 <trace-full.txt && > test_trace2_data paint_down_to_common steps 30 <trace-half.txt && > test_trace2_data paint_down_to_common steps 40 <trace-none.txt > > after the test_all_modes line.
That does indeed look quite clean, I will try to massage the tests to utilize that, though I haven't fully worked it through in my head yet so I am not sure if/where I would get stuck. :)
Thanks, Kristofer