From b2628b54fb08ff0c91b352c4cfc09923a0896027 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Wed, 7 Feb 2024 14:34:15 +0900 Subject: add -4 and -6 options to use either IPv4 or IPv6 --- scripts/test-in-container.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/test-in-container.sh b/scripts/test-in-container.sh index cdaef47..c71d278 100755 --- a/scripts/test-in-container.sh +++ b/scripts/test-in-container.sh @@ -15,6 +15,8 @@ if [ ! -e /var/run/sshd.pid ]; then fi ssh-keyscan localhost >> ${HOME}/.ssh/known_hosts +ssh-keyscan 127.0.0.1 >> ${HOME}/.ssh/known_hosts +ssh-keyscan ::1 >> ${HOME}/.ssh/known_hosts # Run test python3 -m pytest ../test -v -- cgit v1.2.3