aboutsummaryrefslogtreecommitdiffstats
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-09-05 14:38:56 -0700
committerJunio C Hamano <gitster@pobox.com>2023-09-05 14:38:56 -0700
commit4241eece7944ab1b71bd372d98d547917c327ece (patch)
tree21960c61a637e3cd1e4a0b05d43a31ce4b74026d /t/test-lib.sh
parent3e2b0c2f9444b278ff596fd2be2b59b3fc7d2a05 (diff)
parent370ef7e40df684f9b7314c8ca54892f4513eb903 (diff)
downloadgit-4241eece7944ab1b71bd372d98d547917c327ece.tar.gz
Merge branch 'jk/test-lsan-denoise-output'
Tests with LSan from time to time seem to emit harmless message that makes our tests unnecessarily flakey; we work it around by filtering the uninteresting output. * jk/test-lsan-denoise-output: test-lib: ignore uninteresting LSan output
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 293caf0f20..5ea5d1d62a 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -334,6 +334,7 @@ nr_san_dir_leaks_ () {
find "$TEST_RESULTS_SAN_DIR" \
-type f \
-name "$TEST_RESULTS_SAN_FILE_PFX.*" 2>/dev/null |
+ xargs grep -lv "Unable to get registers from thread" |
wc -l
}