Re: [PATCH 2/3] test-lib: simplify lsan results check
- From
Jeff King <peff@peff.net>
- Date
- Jan 9, 2025, 07:59 UTC
- Message-ID
- <20250109075913.GD2735258@coredump.intra.peff.net>
- In-Reply-To
- <xmqqmsg2vbi1.fsf@gitster.g>
On Tue, Jan 07, 2025 at 08:23:34AM -0800, Junio C Hamano wrote:
Show 9 quoted lines
> > We do need to use "grep -s" for the case that the glob does not expand > > (i.e., there are not any log files at all). This option is in POSIX, and > > has been used in t7407 for several years without anybody complaining. > > Also since c625bf0e (git-p4: git-p4 tests with p4 triggers, > 2017-07-13) t9831 has also been using it. It is not like a stray > error message about unmatched glob would really matter here, though. > We are not doing 2>&1 to let the downstream of the pipe see it, and > unless the test is run under "-v" option, it wouldn't even be seen.
Yeah, I saw those. But I don't think they count since hardly anybody runs the p4 tests. They do run in CI, but on a rather limited set of platforms. Though come to think of it, this one would only kick in for LSan, which may also run on a pretty limited set of platforms. :)
-Peff