Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-03-12 01:11:37 +0300
committerJeff King <peff@peff.net>2020-03-12 09:55:17 +0300
commit17f1c0b8c7e447aa62f85dc355bb48133d2812f2 (patch)
tree18f47a2b909eea059593bf9271d44129e07eac95 /t/lib-credential.sh
parent9a6bbee8006c24b46a85d29e7b38cfa79e9ab21b (diff)
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.
Diffstat (limited to 't/lib-credential.sh')
-rwxr-xr-xt/lib-credential.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib-credential.sh b/t/lib-credential.sh
index 937b831ea6..bb88cc0108 100755
--- a/t/lib-credential.sh
+++ b/t/lib-credential.sh
@@ -19,7 +19,7 @@ check() {
false
fi &&
test_cmp expect-stdout stdout &&
- test_cmp expect-stderr stderr
+ test_i18ncmp expect-stderr stderr
}
read_chunk() {