sshfs-fuse: Fix ptests
PATCH 1/1 sshfs-fuse: Fix ptests
Symlink to sshfs parallel to test dir is needed
during test runs
Signed-off-by Khem Raj <[email protected]>
--- .../recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest | 2 +- .../recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest +1 -1
@@ -1,3 +1,3 @@ #!/bin/sh -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}}' +pytest --automake
meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb +2 -0
@@ -20,6 +20,7 @@ SRC_URI += " \ RDEPENDS:${PN}-ptest += " \ python3-pytest \ + python3-unittest-automake-output \ bash \ fuse \ "
@@ -27,4 +28,5 @@ RDEPENDS:${PN}-ptest += " \ do_install_ptest() { install -d ${D}${PTEST_PATH}/test cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ + ln -sf ${bindir}/sshfs ${D}${PTEST_PATH}/sshfs }