new file mode 100644
@@ -0,0 +1,33 @@
+From 3aac82ac6b8ea69533c6cf5e8e8745a0932b8bac Mon Sep 17 00:00:00 2001
+From: Peter Marko <peter.marko@siemens.com>
+Date: Sun, 8 Nov 2026 20:50:31 +0100
+Subject: [PATCH] Fix test output format
+
+"run_diff tests" have different output format than "run tests".
+
+Having : after test results string complies to autotools test format and
+makes all tests output the same.
+
+Upstream-Status: Submitted [https://github.com/rpm-software-management/popt/pull/149]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ tests/testit.sh | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/testit.sh b/tests/testit.sh
+index b8357c8..f10f4d8 100755
+--- a/tests/testit.sh
++++ b/tests/testit.sh
+@@ -28,10 +28,10 @@ run_diff() {
+ diff_ret=$?
+
+ if [ "$diff_ret" != "0" ]; then
+- echo "FAIL $name: failed output is in $out, diff is:"
++ echo "FAIL: $name: failed output is in $out, diff is:"
+ cat $diff_file
+ else
+- echo "PASS $name"
++ echo "PASS: $name"
+ fi
+ rm $out $diff_file
+ }
@@ -14,6 +14,7 @@ SRC_URI = "http://ftp.rpm.org/popt/releases/popt-1.x/${BP}.tar.gz \
file://CVE-2026-18739.patch \
file://CVE-2026-18839-01.patch \
file://CVE-2026-18839-02.patch \
+ file://0001-Fix-test-output-format.patch \
"
SRC_URI[sha256sum] = "c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9"
@@ -29,6 +30,8 @@ do_install_ptest() {
for f in test1 test2 tdict test3 test4-1 test4-2 test4-3 test4-4 tstuff testit.sh test-poptrc; do
${B}/libtool --mode=install install ${B}/tests/$f ${D}/${PTEST_PATH}
done
+ install -d ${D}/${PTEST_PATH}/test3-data
+ install ${S}/tests/test3-data/* ${D}/${PTEST_PATH}/test3-data
}
BBCLASSEXTEND = "native nativesdk"