upstream: add a comment that could have saved me 45 minutes of wild

goose chasing

OpenBSD-Regress-ID: d469b29ffadd3402c090e21b792d627d46fa5297
This commit is contained in:
djm@openbsd.org 2018-07-03 13:53:26 +00:00 committed by Damien Miller
parent 312d2f2861
commit 187633f24c
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: key-options.sh,v 1.8 2018/03/14 05:35:40 djm Exp $
# $OpenBSD: key-options.sh,v 1.9 2018/07/03 13:53:26 djm Exp $
# Placed in the Public Domain.
tid="key options"
@ -65,6 +65,7 @@ expect_pty_fail "restrict" "restrict"
expect_pty_succeed "restrict,pty" "restrict,pty"
# Test environment=
# XXX this can fail if ~/.ssh/environment exists for the user running the test
echo 'PermitUserEnvironment yes' >> $OBJ/sshd_proxy
sed 's/.*/environment="FOO=bar" &/' $origkeys >$authkeys
verbose "key option environment"