test: env test should look for GIT_SSH too

This commit is contained in:
risk danger olson 2017-01-04 12:24:07 -07:00
parent c6feebf3dc
commit 0951c698ad

@ -686,7 +686,8 @@ begin_test "env with multiple ssh remotes"
expected='Endpoint=https://git-server.com/user/repo.git/info/lfs (auth=none)
SSH=git@git-server.com:user/repo.git
Endpoint (other)=https://other-git-server.com/user/repo.git/info/lfs (auth=none)
SSH=git@other-git-server.com:user/repo.git'
SSH=git@other-git-server.com:user/repo.git
GIT_SSH=ssh-echo'
contains_same_elements "$expected" "$(git lfs env | grep -e "Endpoint" -e "SSH=")"
)