]> git.99rst.org Git - git.git/commit
t5516/t5601: be less strict about the number of credential warnings
authorJohannes Schindelin <redacted>
Tue, 1 Nov 2022 02:26:48 +0000 (22:26 -0400)
committerTaylor Blau <redacted>
Tue, 1 Nov 2022 20:35:05 +0000 (16:35 -0400)
commitdb8016b43fd9541c85e1a3998a5a447deb1198fe
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 <redacted>
Signed-off-by: Jeff King <redacted>
Signed-off-by: Taylor Blau <redacted>
t/t5551-http-fetch-smart.sh
git clone https://git.99rst.org/PROJECT