mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
2942c7f2c1
commit
15da7b5e24
@@ -8,3 +8,4 @@ rm -f *.tmp
|
|||||||
rm -f *.ok
|
rm -f *.ok
|
||||||
rm -f *.failed
|
rm -f *.failed
|
||||||
rm -f *.log
|
rm -f *.log
|
||||||
|
cp ../data/test_data.tmp ./
|
||||||
|
|||||||
@@ -141,4 +141,7 @@ do_install_ptest() {
|
|||||||
|
|
||||||
install -d ${D}${PTEST_PATH}/lib
|
install -d ${D}${PTEST_PATH}/lib
|
||||||
install -m 0644 ${B}/lib/config.h ${D}${PTEST_PATH}/lib/
|
install -m 0644 ${B}/lib/config.h ${D}${PTEST_PATH}/lib/
|
||||||
|
|
||||||
|
install -d ${D}${PTEST_PATH}/data
|
||||||
|
install -m 0644 ${B}/tests/test_data.tmp ${D}${PTEST_PATH}/data/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user