test: add sleep -1 before ssh-keyscan

This commit is contained in:
Ryo Nakamura
2023-03-22 19:24:14 +09:00
parent 8192151154
commit 6be61e8adf

View File

@@ -11,6 +11,7 @@ set -x
# Run sshd
if [ ! -e /var/run/sshd.pid ]; then
/usr/sbin/sshd
sleep 1
fi
ssh-keyscan localhost >> ${HOME}/.ssh/known_hosts