diff options
| author | Qiu Tingting <qiutt@fujitsu.com> | 2023-04-27 15:29:14 +0800 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-06-06 04:05:58 -1000 |
| commit | 3872ad52f198c72929884afe00af683c5476808b (patch) | |
| tree | 1adbcc00a999380552a0164b42f30fa427483524 /meta/recipes-devtools | |
| parent | d2497068049a612e21fd88383abb175e6a10833d (diff) | |
| download | poky-3872ad52f198c72929884afe00af683c5476808b.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: d40b69d0a5a3eceff6b7d97601f560846cc2ef36)
Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d0d08dd9a8a179e25b9cfcbac696c1d212a1910c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools')
| -rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb | 3 |
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 | |||
| 8 | rm -f *.ok | 8 | rm -f *.ok |
| 9 | rm -f *.failed | 9 | rm -f *.failed |
| 10 | rm -f *.log | 10 | rm -f *.log |
| 11 | cp ../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 2620610903..403995e9cf 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb | |||
| @@ -140,4 +140,7 @@ do_install_ptest() { | |||
| 140 | 140 | ||
| 141 | install -d ${D}${PTEST_PATH}/lib | 141 | install -d ${D}${PTEST_PATH}/lib |
| 142 | install -m 0644 ${B}/lib/config.h ${D}${PTEST_PATH}/lib/ | 142 | install -m 0644 ${B}/lib/config.h ${D}${PTEST_PATH}/lib/ |
| 143 | |||
| 144 | install -d ${D}${PTEST_PATH}/data | ||
| 145 | install -m 0644 ${B}/tests/test_data.tmp ${D}${PTEST_PATH}/data/ | ||
| 143 | } | 146 | } |
