mirror of
https://git.yoctoproject.org/poky
synced 2026-04-10 14:02:21 +02:00
e2fsprogs: fix the hardcoded paths for ptest
Fix the hardcoded paths in test scripts and expect files to avoid issue like: | cat: ../e2fsck/e2fsck: No such file or directory (From OE-Core rev: 4a4eff9b9e3c614ff41b17cbec359b72dcbd41bd) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
aa81e94f80
commit
110f56dfa5
@@ -104,7 +104,9 @@ do_compile_ptest() {
|
||||
do_install_ptest() {
|
||||
cp -R --no-dereference --preserve=mode,links -v ${B}/tests ${D}${PTEST_PATH}/test
|
||||
cp -R --no-dereference --preserve=mode,links -v ${S}/tests/* ${D}${PTEST_PATH}/test
|
||||
sed -e 's!../e2fsck/e2fsck!e2fsck!g' -i ${D}${PTEST_PATH}/test/*/expect*
|
||||
sed -e 's!../e2fsck/e2fsck!e2fsck!g' \
|
||||
-e 's!../misc/tune2fs!tune2fs!g' -i ${D}${PTEST_PATH}/test/*/expect*
|
||||
sed -e 's!../e2fsck/e2fsck!${base_sbindir}/e2fsck!g' -i ${D}${PTEST_PATH}/test/*/script
|
||||
|
||||
# Remove various files
|
||||
find "${D}${PTEST_PATH}" -type f \
|
||||
|
||||
Reference in New Issue
Block a user