3 # Try a set of credential helpers; the expected stdin,
4 # stdout and stderr should be provided on stdin,
8 read_chunk
>expect-stdout
&&
9 read_chunk
>expect-stderr
&&
10 test-credential
"$@" <stdin
>stdout
2>stderr
&&
11 test_cmp expect-stdout stdout
&&
12 test_cmp expect-stderr stderr
28 what
=`echo $1 | cut -d" " -f1 | tr A-Z a-z | tr -cd a-z`
32 GIT_ASKPASS
="$PWD/askpass"