diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-10-05 09:35:05 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-10-05 09:37:23 -0700 |
| commit | e6b228a6b204e2828f739b11dc4dbf4c7e6fbe26 (patch) | |
| tree | f3ac454ef9491ca6446c5cae9e7f16c4c1e0757c /meta-filesystems | |
| parent | 44fb41b449d64ed329b084372452c8b767c302d0 (diff) | |
| download | meta-openembedded-e6b228a6b204e2828f739b11dc4dbf4c7e6fbe26.tar.gz | |
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 <raj.khem@gmail.com>
Diffstat (limited to 'meta-filesystems')
| -rw-r--r-- | meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest | 10 |
1 files changed, 9 insertions, 1 deletions
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 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | mkdir -p ~/.ssh | |
| 3 | cat > ~/.ssh/config << EOF | ||
| 4 | Host * | ||
| 5 | CheckHostIP no | ||
| 6 | StrictHostKeyChecking no | ||
| 7 | UserKnownHostsFile=/dev/null | ||
| 8 | EOF | ||
| 3 | pytest --automake | 9 | pytest --automake |
| 10 | |||
| 11 | rm -rf ~/.ssh/config | ||
