diff options
author | Damien Miller <djm@mindrot.org> | 2018-03-26 09:37:02 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-03-26 09:38:44 +1100 |
commit | 4b7d8acdbbceef247dc035e611e577174ed8a87e (patch) | |
tree | 8dee5cca1bb8ab3896b3723c3053e5c3d45ea290 | |
parent | 4afeaf3dcb7dc70efd98fcfcb0ed28a6b40b820e (diff) | |
download | openssh-git-4b7d8acdbbceef247dc035e611e577174ed8a87e.tar.gz |
Remove authinfo.sh test dependency on printenv
Some platforms lack printenv in the default $PATH.
Reported by Tom G. Christensen
-rw-r--r-- | regress/authinfo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/authinfo.sh b/regress/authinfo.sh index 9bd0a4d8..3caf8947 100644 --- a/regress/authinfo.sh +++ b/regress/authinfo.sh @@ -6,7 +6,7 @@ tid="authinfo" # Ensure the environment variable doesn't leak when ExposeAuthInfo=no. verbose "ExposeAuthInfo=no" env SSH_USER_AUTH=blah ${SSH} -F $OBJ/ssh_proxy x \ - 'printenv SSH_USER_AUTH >/dev/null' && fail "SSH_USER_AUTH present" + 'env | grep SSH_USER_AUTH >/dev/null' && fail "SSH_USER_AUTH present" verbose "ExposeAuthInfo=yes" echo ExposeAuthInfo=yes >> $OBJ/sshd_proxy |