At second running, there are four new failed case:
d_loaddump f_bigalloc_badinode f_bigalloc_orphan_list f_dup_resize
The test_data.tmp is necessary, but it is deleted by run-ptest.
So it should be restored after testing.
It is a backport for
http://cgit.openembedded.org/openembedded-core/commit/?h=master-next&id=
d0d08dd9a8a179e25b9cfcbac696c1d212a1910c
It should be deleted after yocto version up.
SPEC-4753
Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Change-Id: I9206ec35ed9964a9136cdddee084a4c80ca13560
${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
+}