]> code.ossystems Code Review - openembedded-core.git/commitdiff
busybox: fix failing ptests
authorAlexander Kanavin <alex.kanavin@gmail.com>
Tue, 14 Jan 2020 13:59:59 +0000 (14:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jan 2020 22:21:31 +0000 (22:21 +0000)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox.inc
meta/recipes-core/busybox/files/run-ptest

index bf6ddae7d1972b57eca47074058b6b6e4d4dcfd5..391e4fd163955046807ef118569b9af117fb3949 100644 (file)
@@ -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
 }
index b19e5b5343f29060ad8f308fe86be1834c72e8e8..76873c9de202b63192707536ea6d0f412f5de79c 100644 (file)
@@ -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:/'