summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-agl-test/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-agl-test/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend b/meta-agl-test/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend
index 2a4337dc..6008d75e 100644
--- a/meta-agl-test/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend
+++ b/meta-agl-test/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend
@@ -6,3 +6,11 @@ do_compile_ptest:append() {
${B}/tests/test_script
}
+
+# fix bug for ptest with second running.
+# Delete it after yocto version up.
+do_install_ptest:append() {
+ install -d ${D}${PTEST_PATH}/data
+ install -m 0644 ${B}/tests/test_data.tmp ${D}${PTEST_PATH}/data/
+ echo 'cp ../data/test_data.tmp ./' >> ${D}${PTEST_PATH}/run-ptest
+}