[openssh-commits] [openssh] 03/04: upstream: check sshd_config output case insensitively

git+noreply at mindrot.org git+noreply at mindrot.org
Sun Jul 12 22:25:46 AEST 2026


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 932212db4d704a1e55848f3fe3f9c743b44209fc
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Sun Jul 12 08:40:00 2026 +0000

    upstream: check sshd_config output case insensitively
    
    OpenBSD-Regress-ID: dafa6c3e723cf39ca5e552304372bc085c348102
---
 regress/cfgparse.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/regress/cfgparse.sh b/regress/cfgparse.sh
index d618e3664..15417a7dc 100644
--- a/regress/cfgparse.sh
+++ b/regress/cfgparse.sh
@@ -1,4 +1,4 @@
-#	$OpenBSD: cfgparse.sh,v 1.9 2025/09/26 04:40:45 dtucker Exp $
+#	$OpenBSD: cfgparse.sh,v 1.10 2026/07/12 08:40:00 djm Exp $
 #	Placed in the Public Domain.
 
 tid="sshd config parse"
@@ -51,8 +51,8 @@ listenaddress ::1
 EOD
 
 ($SUDO ${SSHD} -T -f $OBJ/sshd_config.1 | \
- grep '^listenaddress ' >$OBJ/sshd_config.2 &&
- diff $OBJ/sshd_config.0 $OBJ/sshd_config.2) || \
+ grep -i '^listenaddress ' >$OBJ/sshd_config.2 &&
+ diff -i $OBJ/sshd_config.0 $OBJ/sshd_config.2) || \
  fail "listenaddress order 1"
 # test 2: listenaddress first
 cat > $OBJ/sshd_config.1 <<EOD

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list