summaryrefslogtreecommitdiff
path: root/regress/agent-timeout.sh
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-09-03 08:37:06 +0000
committerDamien Miller <djm@mindrot.org>2019-09-03 18:42:14 +1000
commit59650f0eaf65115afe04c39abfb93a4fc994ec55 (patch)
tree4e31942aa57396abd40111036bb8bf552a98aa43 /regress/agent-timeout.sh
parentd637c4aee6f9b5280c13c020d7653444ac1fcaa5 (diff)
upstream: only add plain keys to prevent any certs laying around
from confusing the test. OpenBSD-Regress-ID: b8f1508f822bc560b98dea910e61ecd76f34100f
Diffstat (limited to 'regress/agent-timeout.sh')
-rw-r--r--regress/agent-timeout.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/agent-timeout.sh b/regress/agent-timeout.sh
index 80012f80c..311c7bcba 100644
--- a/regress/agent-timeout.sh
+++ b/regress/agent-timeout.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: agent-timeout.sh,v 1.4 2019/01/28 00:08:26 dtucker Exp $ 1# $OpenBSD: agent-timeout.sh,v 1.5 2019/09/03 08:37:06 djm Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="agent timeout test" 4tid="agent timeout test"
@@ -14,7 +14,7 @@ else
14 trace "add keys with timeout" 14 trace "add keys with timeout"
15 keys=0 15 keys=0
16 for t in ${SSH_KEYTYPES}; do 16 for t in ${SSH_KEYTYPES}; do
17 ${SSHADD} -t ${SSHAGENT_TIMEOUT} $OBJ/$t > /dev/null 2>&1 17 ${SSHADD} -kt ${SSHAGENT_TIMEOUT} $OBJ/$t > /dev/null 2>&1
18 if [ $? -ne 0 ]; then 18 if [ $? -ne 0 ]; then
19 fail "ssh-add did succeed exit code 0" 19 fail "ssh-add did succeed exit code 0"
20 fi 20 fi