t5516/t5601: be less strict about the number of credential warnings
commitdb8016b43fd9541c85e1a3998a5a447deb1198fe
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 1 Nov 2022 02:26:48 +0000 (31 22:26 -0400)
committerTaylor Blau <me@ttaylorr.com>
Tue, 1 Nov 2022 20:35:05 +0000 (1 16:35 -0400)
tree282eaa34c17782a1f52002fc2a39665a90cf4a0d
parent762521e8a5a6948501d56d51da3f70df4f3dfdbe
t5516/t5601: be less strict about the number of credential warnings

It is unclear as to _why_, but under certain circumstances the warning
about credentials being passed as part of the URL seems to be swallowed
by the `git remote-https` helper in the Windows jobs of Git's CI builds.

Since it is not actually important how many times Git prints the
warning/error message, as long as it prints it at least once, let's just
make the test a bit more lenient and test for the latter instead of the
former, which works around these CI issues.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
t/t5551-http-fetch-smart.sh