diff options
Diffstat (limited to 'meta-filesystems/recipes-filesystems/sshfs-fuse')
-rw-r--r-- | meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest | 10 | ||||
-rw-r--r-- | meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb | 6 |
2 files changed, 13 insertions, 3 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 b63c4de0d9..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 | mkdir -p ~/.ssh | ||
3 | cat > ~/.ssh/config << EOF | ||
4 | Host * | ||
5 | CheckHostIP no | ||
6 | StrictHostKeyChecking no | ||
7 | UserKnownHostsFile=/dev/null | ||
8 | EOF | ||
9 | pytest --automake | ||
2 | 10 | ||
3 | pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' | 11 | rm -rf ~/.ssh/config |
diff --git a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb index 5a926dac0c..c3a00566ab 100644 --- a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb +++ b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb | |||
@@ -10,16 +10,17 @@ SRC_URI = "git://github.com/libfuse/sshfs;branch=master;protocol=https \ | |||
10 | file://a1d58ae1be99571a88b8439b027abe6349b74658.patch \ | 10 | file://a1d58ae1be99571a88b8439b027abe6349b74658.patch \ |
11 | " | 11 | " |
12 | SRCREV = "c91eb9a9a992f1a36c49a8e6f1146e45b5e1c8e7" | 12 | SRCREV = "c91eb9a9a992f1a36c49a8e6f1146e45b5e1c8e7" |
13 | S = "${WORKDIR}/git" | ||
14 | 13 | ||
15 | inherit meson pkgconfig ptest | 14 | inherit meson pkgconfig ptest |
16 | 15 | ||
17 | SRC_URI += " \ | 16 | SRC_URI += " \ |
18 | file://run-ptest \ | 17 | file://run-ptest \ |
19 | " | 18 | " |
20 | 19 | #python3-compile for filecmp module | |
21 | RDEPENDS:${PN}-ptest += " \ | 20 | RDEPENDS:${PN}-ptest += " \ |
21 | python3-compile \ | ||
22 | python3-pytest \ | 22 | python3-pytest \ |
23 | python3-unittest-automake-output \ | ||
23 | bash \ | 24 | bash \ |
24 | fuse \ | 25 | fuse \ |
25 | " | 26 | " |
@@ -27,4 +28,5 @@ RDEPENDS:${PN}-ptest += " \ | |||
27 | do_install_ptest() { | 28 | do_install_ptest() { |
28 | install -d ${D}${PTEST_PATH}/test | 29 | install -d ${D}${PTEST_PATH}/test |
29 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | 30 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ |
31 | ln -sf ${bindir}/sshfs ${D}${PTEST_PATH}/sshfs | ||
30 | } | 32 | } |