summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorQiu Tingting <qiutt@fujitsu.com>2023-04-27 15:29:14 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-10 17:18:57 +0100
commit15da7b5e24696492bbb0c4155df0a73186ff1bac (patch)
tree86e67d5b47c1a4f06804c09908c17cc0209a2309 /meta/recipes-devtools
parent2942c7f2c16e5b503c9f6e4febd50f4ad7eb598d (diff)
downloadpoky-15da7b5e24696492bbb0c4155df0a73186ff1bac.tar.gz
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. (From OE-Core rev: d0d08dd9a8a179e25b9cfcbac696c1d212a1910c) Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest1
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb3
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
index c97c0377e9..279923db8e 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
@@ -8,3 +8,4 @@ rm -f *.tmp
8rm -f *.ok 8rm -f *.ok
9rm -f *.failed 9rm -f *.failed
10rm -f *.log 10rm -f *.log
11cp ../data/test_data.tmp ./
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
index f29c55e346..d3786d6f4c 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
@@ -141,4 +141,7 @@ do_install_ptest() {
141 141
142 install -d ${D}${PTEST_PATH}/lib 142 install -d ${D}${PTEST_PATH}/lib
143 install -m 0644 ${B}/lib/config.h ${D}${PTEST_PATH}/lib/ 143 install -m 0644 ${B}/lib/config.h ${D}${PTEST_PATH}/lib/
144
145 install -d ${D}${PTEST_PATH}/data
146 install -m 0644 ${B}/tests/test_data.tmp ${D}${PTEST_PATH}/data/
144} 147}