summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2023-03-22 19:24:14 +0900
committerRyo Nakamura <upa@haeena.net>2023-03-22 19:24:14 +0900
commit6be61e8adff9690fd2d0cc943a1ac63939b5f0d8 (patch)
tree32c334e135462a263016c0a22030badc45df7140 /scripts
parent81921511540098bfcb192c892a35d16158990e79 (diff)
test: add sleep -1 before ssh-keyscan
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test-in-container.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/test-in-container.sh b/scripts/test-in-container.sh
index 1e003b3..cdaef47 100755
--- a/scripts/test-in-container.sh
+++ b/scripts/test-in-container.sh
@@ -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