summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2024-06-16 13:54:49 +0200
committerDamien Miller <djm@mindrot.org>2024-06-16 13:55:26 +0200
commit48443d202eaec52d4d39defdd709a4499a7140c6 (patch)
treef145daf3af20de4ee99c0cd8162dd80c452706c2 /regress
parentupstream: penalty test is still a bit racy (diff)
downloadopenssh-48443d202eaec52d4d39defdd709a4499a7140c6.tar.xz
openssh-48443d202eaec52d4d39defdd709a4499a7140c6.zip
upstream: same treatment for this test
OpenBSD-Regress-ID: d0cc9efca7833e673ea7b0cb3a679a3acee8d4c7
Diffstat (limited to 'regress')
-rw-r--r--regress/penalty-expire.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/penalty-expire.sh b/regress/penalty-expire.sh
index 30b7bd45d..4f0bbe638 100644
--- a/regress/penalty-expire.sh
+++ b/regress/penalty-expire.sh
@@ -24,6 +24,7 @@ verbose "penalty expiry"
# Incur a penalty
cat /dev/null > $OBJ/authorized_keys_${USER}
${SSH} -F $OBJ/ssh_config somehost true && fatal "authfail connect succeeded"
+sleep 2
# Check denied
cp $OBJ/authorized_keys_${USER}.bak $OBJ/authorized_keys_${USER}