upstream: only add plain keys to prevent any certs laying around
from confusing the test. OpenBSD-Regress-ID: b8f1508f822bc560b98dea910e61ecd76f34100f
This commit is contained in:
parent
d637c4aee6
commit
59650f0eaf
|
@ -1,4 +1,4 @@
|
|||
# $OpenBSD: agent-timeout.sh,v 1.4 2019/01/28 00:08:26 dtucker Exp $
|
||||
# $OpenBSD: agent-timeout.sh,v 1.5 2019/09/03 08:37:06 djm Exp $
|
||||
# Placed in the Public Domain.
|
||||
|
||||
tid="agent timeout test"
|
||||
|
@ -14,7 +14,7 @@ else
|
|||
trace "add keys with timeout"
|
||||
keys=0
|
||||
for t in ${SSH_KEYTYPES}; do
|
||||
${SSHADD} -t ${SSHAGENT_TIMEOUT} $OBJ/$t > /dev/null 2>&1
|
||||
${SSHADD} -kt ${SSHAGENT_TIMEOUT} $OBJ/$t > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
fail "ssh-add did succeed exit code 0"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue