summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2018-04-10 00:13:28 +0000
committerDamien Miller <djm@cvs.openbsd.org>2018-04-10 00:13:28 +0000
commit41821af9b43e6b923e17c40bee2b60800140eb20 (patch)
treea9c11786f5bbd18126f931b37b65fe8daabe093d /regress/usr.bin
parent6d193537cb5a244e7fb2e9c4a5fcf83dacb82acf (diff)
make this a bit more portable-friendly
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/ssh/authinfo.sh4
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