summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2024-02-07 14:34:15 +0900
committerRyo Nakamura <upa@haeena.net>2024-02-07 15:14:27 +0900
commitb2628b54fb08ff0c91b352c4cfc09923a0896027 (patch)
tree1c77df426e9636c796e4568ac5cd12114b052a9d /scripts
parenta9c59f744a29f921ab55518a3b2b5b5c7ca6b95d (diff)
add -4 and -6 options to use either IPv4 or IPv6
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test-in-container.sh2
1 files changed, 2 insertions, 0 deletions
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