]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 May 2023 16:18:06 +0000 (17:18 +0100)
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>
meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.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 f29c55e346c37b5aa9eb4e6ee27d501e1edd4a91..d3786d6f4c7c8425b3e11f54bc74553b7801ff71 100644 (file)
@@ -141,4 +141,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/
 }