t/lib-credential: use test_i18ncmp to check stderr
commit17f1c0b8c7e447aa62f85dc355bb48133d2812f2
authorJeff King <peff@peff.net>
Wed, 11 Mar 2020 22:11:37 +0000 (11 18:11 -0400)
committerJeff King <peff@peff.net>
Thu, 12 Mar 2020 06:55:17 +0000 (12 02:55 -0400)
tree18f47a2b909eea059593bf9271d44129e07eac95
parent9a6bbee8006c24b46a85d29e7b38cfa79e9ab21b
t/lib-credential: use test_i18ncmp to check stderr

The credential tests have a "check" function which feeds some input to
git-credential and checks the stdout and stderr. We look for exact
matches in the output. For stdout, this makes sense; the output is
the credential protocol. But for stderr, we may be showing various
diagnostic messages, or the prompts fed to the askpass program, which
could be translated. Let's mark them as such.
t/lib-credential.sh