diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-01-14 14:59:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-16 22:21:31 +0000 |
commit | d1693ddac0a80664aaf7431b1672391b94696b4f (patch) | |
tree | 663714d66bea3c25cd173fffe327c4bd70a9250f | |
parent | dce25738c82335f2a92b32bd52f0c63e2dbd336e (diff) | |
download | openembedded-core-contrib-d1693ddac0a80664aaf7431b1672391b94696b4f.tar.gz |
busybox: fix failing ptests
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/busybox/busybox.inc | 2 | ||||
-rw-r--r-- | meta/recipes-core/busybox/files/run-ptest | 2 |
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" do_install_ptest () { cp -r ${B}/testsuite ${D}${PTEST_PATH}/ + # These access the internet which is not guaranteed to work on machines running the tests + rm -rf ${D}${PTEST_PATH}/testsuite/wget cp ${B}/.config ${D}${PTEST_PATH}/ ln -s /bin/busybox ${D}${PTEST_PATH}/busybox } 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 export SKIP_KNOWN_BUGS=1 cd testsuite || exit 1 -./runtest -v | sed -r 's/^(SKIPPED|UNTESTED):/SKIP:/' +LANG=C.UTF-8 ./runtest -v | sed -r 's/^(SKIPPED|UNTESTED):/SKIP:/' |