diff options
author | Qiu Tingting <qiutt@fujitsu.com> | 2023-05-23 15:09:54 +0800 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-05-30 12:47:44 +0000 |
commit | 70cd4a0658ec43ae7b1195019d1e2d32df384835 (patch) | |
tree | 3bcba5bb7e89a02d71a4f746b138e903e74fe71e /meta-agl-test/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend | |
parent | 5561697c2df12c0f82a282ba9365e5faaf1f55e0 (diff) |
e2fsprogs: fix ptest bug for second running
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
Diffstat (limited to 'meta-agl-test/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend')
-rw-r--r-- | meta-agl-test/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend | 8 |
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 +} |