summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-07-03 13:53:26 +0000
committerDamien Miller <djm@mindrot.org>2018-07-04 23:52:50 +1000
commit187633f24c71564e970681c8906df5a6017dcccf (patch)
tree72851172d2a5fcdb44f1a359810052809b5e697a /regress
parent312d2f2861a2598ed08587cb6c45c0e98a85408f (diff)
upstream: add a comment that could have saved me 45 minutes of wild
goose chasing OpenBSD-Regress-ID: d469b29ffadd3402c090e21b792d627d46fa5297
Diffstat (limited to 'regress')
-rw-r--r--regress/key-options.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/key-options.sh b/regress/key-options.sh
index 78d1adc77..112c9bd8e 100644
--- a/regress/key-options.sh
+++ b/regress/key-options.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: key-options.sh,v 1.8 2018/03/14 05:35:40 djm Exp $ 1# $OpenBSD: key-options.sh,v 1.9 2018/07/03 13:53:26 djm Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="key options" 4tid="key options"
@@ -65,6 +65,7 @@ expect_pty_fail "restrict" "restrict"
65expect_pty_succeed "restrict,pty" "restrict,pty" 65expect_pty_succeed "restrict,pty" "restrict,pty"
66 66
67# Test environment= 67# Test environment=
68# XXX this can fail if ~/.ssh/environment exists for the user running the test
68echo 'PermitUserEnvironment yes' >> $OBJ/sshd_proxy 69echo 'PermitUserEnvironment yes' >> $OBJ/sshd_proxy
69sed 's/.*/environment="FOO=bar" &/' $origkeys >$authkeys 70sed 's/.*/environment="FOO=bar" &/' $origkeys >$authkeys
70verbose "key option environment" 71verbose "key option environment"