diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2018-04-10 00:13:28 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2018-04-10 00:13:28 +0000 |
commit | 41821af9b43e6b923e17c40bee2b60800140eb20 (patch) | |
tree | a9c11786f5bbd18126f931b37b65fe8daabe093d /regress/usr.bin | |
parent | 6d193537cb5a244e7fb2e9c4a5fcf83dacb82acf (diff) |
make this a bit more portable-friendly
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/ssh/authinfo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/authinfo.sh b/regress/usr.bin/ssh/authinfo.sh index 9bd0a4d8366..693424afafa 100644 --- a/regress/usr.bin/ssh/authinfo.sh +++ b/regress/usr.bin/ssh/authinfo.sh @@ -1,4 +1,4 @@ -# $OpenBSD: authinfo.sh,v 1.2 2017/10/25 20:08:36 millert Exp $ +# $OpenBSD: authinfo.sh,v 1.3 2018/04/10 00:13:27 djm Exp $ # Placed in the Public Domain. tid="authinfo" @@ -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 |