diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-10-08 13:05:29 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-08 13:05:29 -0700 |
commit | 9342f49738a6b539b94a344fdfd45cf29c93ffcd (patch) | |
tree | 37d646bdd7c4d7ee4db3a01336981148bd4d7717 /t | |
parent | b2c45f5b961b3b5d894fb723d2031e8ff41cadf7 (diff) | |
parent | c049216fdf8cbbe93edf107800519739f4bcf56d (diff) | |
download | git-9342f49738a6b539b94a344fdfd45cf29c93ffcd.tar.gz git-9342f49738a6b539b94a344fdfd45cf29c93ffcd.tar.xz |
Merge branch 'bw/use-write-script-in-tests'
* bw/use-write-script-in-tests:
t/lib-credential: use write_script
Diffstat (limited to 't')
-rwxr-xr-x | t/lib-credential.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/t/lib-credential.sh b/t/lib-credential.sh index 9e7d7962b..d8e41f7dd 100755 --- a/t/lib-credential.sh +++ b/t/lib-credential.sh @@ -278,12 +278,10 @@ helper_test_timeout() { ' } -cat >askpass <<\EOF -#!/bin/sh +write_script askpass <<\EOF echo >&2 askpass: $* what=$(echo $1 | cut -d" " -f1 | tr A-Z a-z | tr -cd a-z) echo "askpass-$what" EOF -chmod +x askpass GIT_ASKPASS="$PWD/askpass" export GIT_ASKPASS |