]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
e2fsprogs: fix ptest bug for second running
authorQiu Tingting <qiutt@fujitsu.com>
Thu, 27 Apr 2023 07:29:14 +0000 (15:29 +0800)
committerSteve Sakoman <steve@sakoman.com>
Thu, 15 Jun 2023 21:37:35 +0000 (11:37 -1000)
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.

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>
meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.7.bb

index c97c0377e9c0f08346a5ca83bd819b909333ec2b..279923db8ef6bf9b49434419dd8a2d2b059ea8a2 100644 (file)
@@ -8,3 +8,4 @@ rm -f *.tmp
 rm -f *.ok
 rm -f *.failed
 rm -f *.log
+cp ../data/test_data.tmp ./
index b1abf6b858173eec2f0504d551dfe6d94744b817..565c433866fded09dda65e47206243f3a1ecdd0f 100644 (file)
@@ -144,4 +144,7 @@ do_install_ptest() {
 
         install -d ${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/
 }