From: dtucker@openbsd.org Date: Sat, 6 Dec 2025 07:10:24 +0000 (+0000) Subject: upstream: Append a newline, otherwise some sed's won't output anything. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab164f671609a3a25cd0efcd967aff29144081bb;p=thirdparty%2Fopenssh-portable.git upstream: Append a newline, otherwise some sed's won't output anything. OpenBSD-Regress-ID: 507cb8c36bb7fc338f60a55bf7040f479536b3f7 --- diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 20297f22e..b391dbc82 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh @@ -1,4 +1,4 @@ -# $OpenBSD: test-exec.sh,v 1.136 2025/12/05 06:55:22 dtucker Exp $ +# $OpenBSD: test-exec.sh,v 1.137 2025/12/06 07:10:24 dtucker Exp $ # Placed in the Public Domain. #SUDO=sudo @@ -912,7 +912,7 @@ start_sshd () enable_all_kexes_in_sshd () { - kexs=`$SSH -Q KexAlgorithms | tr '\n' , | sed 's/,$//'` + kexs=`$SSH -Q KexAlgorithms | (tr '\n' ,; echo) | sed 's/,$//'` echo KexAlgorithms $kexs >>$OBJ/sshd_config }