sshfs-fuse: Do not prompt for known_hosts during ptests
PATCH 1/1 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 <[email protected]>
--- .../sshfs-fuse/sshfs-fuse/run-ptest | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest +9 -1
@@ -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