summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"