Message ID | 20241005163704.2594867-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-filesystems] sshfs-fuse: Do not prompt for known_hosts during ptests | expand |
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
ptest runs are non-interactive, therefore ignore adding to known_hosts on localhost Signed-off-by: Khem Raj <raj.khem@gmail.com> --- .../sshfs-fuse/sshfs-fuse/run-ptest | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)