From e6b228a6b204e2828f739b11dc4dbf4c7e6fbe26 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 5 Oct 2024 09:35:05 -0700 Subject: [PATCH] sshfs-fuse: Do not prompt for known_hosts during ptests ptest runs are non-interactive, therefore ignore adding to known_hosts on localhost Signed-off-by: Khem Raj --- .../sshfs-fuse/sshfs-fuse/run-ptest | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest index 8d2017d39c..5aab54d5b5 100644 --- a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest +++ b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest @@ -1,3 +1,11 @@ #!/bin/sh - +mkdir -p ~/.ssh +cat > ~/.ssh/config << EOF +Host * + CheckHostIP no + StrictHostKeyChecking no + UserKnownHostsFile=/dev/null +EOF pytest --automake + +rm -rf ~/.ssh/config