Skip to contentSkip to conversation

e2fsprogs: fix test f_detect_junk print error msg

PATCH Superseded [email protected] 1 participant 1 message Oct 12, 2018

lore
Share & tools
lore
#0 lore raw

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 expected
f_detect_junk: detect non-fs file data: ok

---
 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
index 823d18b..beb0a36 100644
@@ -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