[openssh-commits] [openssh] 01/02: Remove authinfo.sh test dependency on printenv

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Mar 26 09:39:24 AEDT 2018

This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 4b7d8acdbbceef247dc035e611e577174ed8a87e
Author: Damien Miller <djm at mindrot.org>
Date:   Mon Mar 26 09:37:02 2018 +1100

    Remove authinfo.sh test dependency on printenv
    Some platforms lack printenv in the default $PATH.
    Reported by Tom G. Christensen
 regress/authinfo.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

To stop receiving notification emails like this one, please contact
djm at mindrot.org.

More information about the openssh-commits mailing list