deleted file mode 100644
@@ -1,59 +0,0 @@
-From 715dcbdc4724618a4224a4ee78bdf9bef0cd26f4 Mon Sep 17 00:00:00 2001
-From: Mikko Rapeli <mikko.rapeli@linaro.org>
-Date: Mon, 11 Sep 2023 09:55:21 +0100
-Subject: [PATCH] regress/banner.sh: log input and output files on error
-
-Some test environments like yocto with qemu are seeing these
-tests failing. There may be additional error messages in the
-stderr of ssh cloent command. busybox cmp shows this error when
-first input file has less new line characters then second
-input file:
-
-cmp: EOF on /usr/lib/openssh/ptest/regress/banner.in
-
-Logging the full banner.out will show what other error messages
-are captured in addition of the expected banner.
-
-Full log of a failing banner test runs is:
-
-run test banner.sh ...
-test banner: missing banner file
-test banner: size 0
-cmp: EOF on /usr/lib/openssh/ptest/regress/banner.in
-banner size 0 mismatch
-test banner: size 10
-test banner: size 100
-cmp: EOF on /usr/lib/openssh/ptest/regress/banner.in
-banner size 100 mismatch
-test banner: size 1000
-test banner: size 10000
-test banner: size 100000
-test banner: suppress banner (-q)
-FAIL: banner
-return value: 1
-
-See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178
-
-Upstream-Status: Denied [https://github.com/openssh/openssh-portable/pull/437]
-
-Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
-Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
----
- regress/banner.sh | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/regress/banner.sh b/regress/banner.sh
-index a84feb5..de84957 100644
---- a/regress/banner.sh
-+++ b/regress/banner.sh
-@@ -32,7 +32,9 @@ for s in 0 10 100 1000 10000 100000 ; do
- verbose "test $tid: size $s"
- ( ${SSH} -F $OBJ/ssh_proxy otherhost true 2>$OBJ/banner.out && \
- cmp $OBJ/banner.in $OBJ/banner.out ) || \
-- fail "banner size $s mismatch"
-+ ( verbose "Contents of $OBJ/banner.in:"; cat $OBJ/banner.in; \
-+ verbose "Contents of $OBJ/banner.out:"; cat $OBJ/banner.out; \
-+ fail "banner size $s mismatch" )
- done
-
- trace "test suppress banner (-q)"
@@ -23,7 +23,6 @@ SRC_URI = "https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.ta
file://volatiles.99_sshd \
file://run-ptest \
file://sshd_check_keys \
- file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \
"
SRC_URI[sha256sum] = "9ae44872090cf2f06b3cf9ff147e7f16f309671340763ed2f99248398ae29d5b"
This patch was added to get more logs while debugging Yocto bug 15178. That bug was fixed after sudo was removed from the ptest dependencies [1], and run-ptest already prints the failure logs since [2], as upstream suggested. So there is no need to keep this patch. Tested with core-image-ptest-openssh on qemux86-64 (glibc and musl). [1] https://git.openembedded.org/openembedded-core/commit/?id=47e754f483b674b207bfddcc8d4c5d9a3008e102 [2] https://git.openembedded.org/openembedded-core/commit/?id=5f817f5a3897bca39eb832bb910b032632f275b8 Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> --- ...h-log-input-and-output-files-on-erro.patch | 59 ------------------- .../openssh/openssh_10.6p2.bb | 1 - 2 files changed, 60 deletions(-) delete mode 100644 meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch