summaryrefslogtreecommitdiff
path: root/t/lib-credential.sh
diff options
context:
space:
mode:
authorErik Faye-Lund <kusmabite@gmail.com>2012-07-27 17:10:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-08-17 03:34:56 (GMT)
commita6253da0f30c5bee1ecb9bea313881dc8e50efda (patch)
tree2fe91c12792715f5f8e927a37623b98dfa190deb /t/lib-credential.sh
parent2a9a19e1b160c8c63c470d4c236d65709214a66f (diff)
downloadgit-a6253da0f30c5bee1ecb9bea313881dc8e50efda.zip
git-a6253da0f30c5bee1ecb9bea313881dc8e50efda.tar.gz
git-a6253da0f30c5bee1ecb9bea313881dc8e50efda.tar.bz2
contrib: add win32 credential-helper
Since the Windows port of Git expects binary pipes, we need to make sure the helper-end also sets up binary pipes. Side-step CRLF-issue in test to make it pass. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-credential.sh')
-rwxr-xr-xt/lib-credential.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/lib-credential.sh b/t/lib-credential.sh
index 957ae93..3c43ff1 100755
--- a/t/lib-credential.sh
+++ b/t/lib-credential.sh
@@ -18,6 +18,10 @@ check() {
cat stderr &&
false
fi &&
+ if test_have_prereq MINGW
+ then
+ dos2unix -q stderr
+ fi &&
test_cmp expect-stdout stdout &&
test_cmp expect-stderr stderr
}