summaryrefslogtreecommitdiffstats
path: root/t/t9126
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2024-12-30 05:24:01 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-30 15:18:57 +0100
commitd601aee6056a0afc6df7f77e15cdc155ff402dee (patch)
tree299e49c702c29c039f70e396621eadaaafd91f6b /t/t9126
parentMerge branch 'ps/meson-test-wo-gitweb' (diff)
downloadgit-d601aee6056a0afc6df7f77e15cdc155ff402dee.tar.xz
git-d601aee6056a0afc6df7f77e15cdc155ff402dee.zip
test-lib: use individual lsan dir for --stress runs
When storing output in test-results/, we usually give each numbered run in a --stress set its own output file. But we don't do that for storing LSan logs, so something like: ./t0003-attributes.sh --stress will have many scripts simultaneously creating, writing to, and deleting the test-results/t0003-attributes.leak directory. This can cause logs from one run to be attributed to another, spurious failures when creation and deletion race, and so on. This has always been broken, but nobody noticed because it's rare to do a --stress run with LSan (since the point is for the code to run quickly many times in order to hit races). But if you're trying to find a race in the leak sanitizing code, it makes sense to use these together. We can fix it by using $TEST_RESULTS_BASE, which already incorporates the stress job suffix. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9126')
0 files changed, 0 insertions, 0 deletions