summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-01-14 14:59:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-16 22:33:09 +0000
commita2a33b767857ff21a2396f5f4db39418d6e5aa45 (patch)
treebcf6053148b3007743faa5bfeb1205f02f709cba /meta/recipes-core/busybox
parente2848469adc841299c9067ba8183b3a7c0c20b57 (diff)
downloadpoky-a2a33b767857ff21a2396f5f4db39418d6e5aa45.tar.gz
busybox: fix failing ptests
(From OE-Core rev: d1693ddac0a80664aaf7431b1672391b94696b4f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r--meta/recipes-core/busybox/busybox.inc2
-rw-r--r--meta/recipes-core/busybox/files/run-ptest2
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index bf6ddae7d1..391e4fd163 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -354,6 +354,8 @@ PTEST_BINDIR = "1"
354 354
355do_install_ptest () { 355do_install_ptest () {
356 cp -r ${B}/testsuite ${D}${PTEST_PATH}/ 356 cp -r ${B}/testsuite ${D}${PTEST_PATH}/
357 # These access the internet which is not guaranteed to work on machines running the tests
358 rm -rf ${D}${PTEST_PATH}/testsuite/wget
357 cp ${B}/.config ${D}${PTEST_PATH}/ 359 cp ${B}/.config ${D}${PTEST_PATH}/
358 ln -s /bin/busybox ${D}${PTEST_PATH}/busybox 360 ln -s /bin/busybox ${D}${PTEST_PATH}/busybox
359} 361}
diff --git a/meta/recipes-core/busybox/files/run-ptest b/meta/recipes-core/busybox/files/run-ptest
index b19e5b5343..76873c9de2 100644
--- a/meta/recipes-core/busybox/files/run-ptest
+++ b/meta/recipes-core/busybox/files/run-ptest
@@ -6,4 +6,4 @@ export PATH=$bindir/bin:$PATH
6export SKIP_KNOWN_BUGS=1 6export SKIP_KNOWN_BUGS=1
7 7
8cd testsuite || exit 1 8cd testsuite || exit 1
9./runtest -v | sed -r 's/^(SKIPPED|UNTESTED):/SKIP:/' 9LANG=C.UTF-8 ./runtest -v | sed -r 's/^(SKIPPED|UNTESTED):/SKIP:/'