e2fsprogs: fix test f_detect_junk print error msg
PATCH v3 1/1 e2fsprogs: fix test f_detect_junk print error msg
From: Changqing Li <[email protected]>
This test need to check config.h, so install it
to fix below err msg:
grep: ../lib/config.h: No such file or directory ./test/f_detect_junk/script: line 3: [: : integer expression expectedf_detect_junk: detect non-fs file data: ok
Signed-off-by Changqing Li <[email protected]>
--- meta/recipes-devtools/e2fsprogs/e2fsprogs_1.44.3.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.44.3.bb +3 -0
@@ -129,4 +129,7 @@ do_install_ptest() { find "${D}${PTEST_PATH}" -type f \ \( -name 'Makefile' -o -name 'Makefile.in' -o -name '*.o' -o -name '*.c' -o -name '*.h' \)\ -exec rm -f {} + + + install -d ${D}${PTEST_PATH}/lib + install -m 0644 ${B}/lib/config.h ${D}${PTEST_PATH}/lib/ }
Signature · 1 line
2.7.4