[openssh-commits] [openssh] branch master updated: upstream: Some awks won't match on the \r so delete it instead. Fixes
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Aug 21 21:02:02 AEST 2024
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new 15ace435 upstream: Some awks won't match on the \r so delete it instead. Fixes
15ace435 is described below
commit 15ace435ea1c2fab2a1cc7d9c3157fe20c776b80
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Wed Aug 21 10:33:27 2024 +0000
upstream: Some awks won't match on the \r so delete it instead. Fixes
regress in portable on, eg Solaris.
OpenBSD-Regress-ID: 44a96d6d2f8341d89b7d5fff777502b92ac9e9ba
---
regress/rekey.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/regress/rekey.sh b/regress/rekey.sh
index 79e52f2a..53f74baa 100644
--- a/regress/rekey.sh
+++ b/regress/rekey.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: rekey.sh,v 1.27 2024/08/21 06:59:08 dtucker Exp $
+# $OpenBSD: rekey.sh,v 1.28 2024/08/21 10:33:27 dtucker Exp $
# Placed in the Public Domain.
tid="rekey"
@@ -43,8 +43,8 @@ ssh_data_rekeying()
case "$_kexopt" in
KexAlgorithms*)
_want=`echo $_kexopt | cut -f2 -d=`
- _got=`awk 'BEGIN{FS="[ \r]+"} /kex: algorithm: /{print $4}' \
- ${LOG} | sort -u`
+ _got=`awk '/kex: algorithm: /{print $4}' ${LOG} | \
+ tr -d '\r' | sort -u`
if [ "$_want" != "$_got" ]; then
fail "expected kex $_want, got $_got"
fi
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list