[openssh-commits] [openssh] 02/04: upstream: unbreak test: cannot access shell positional parameters

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Jan 17 21:16:16 AEDT 2023


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

djm pushed a commit to branch master
in repository openssh.

commit aff9493a89c71d6a080419b49ac64eead9730491
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Mon Jan 16 04:11:29 2023 +0000

    upstream: unbreak test: cannot access shell positional parameters
    
    past $9 without wrapping the position in braces (i.e. need ${10}, etc.)
    
    OpenBSD-Regress-ID: 3750ec98d5d409ce6a93406fedde6f220d2ea2ac
---
 regress/krl.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/regress/krl.sh b/regress/krl.sh
index c381225e..d560d61e 100644
--- a/regress/krl.sh
+++ b/regress/krl.sh
@@ -1,4 +1,4 @@
-#	$OpenBSD: krl.sh,v 1.11 2019/12/16 02:39:05 djm Exp $
+#	$OpenBSD: krl.sh,v 1.12 2023/01/16 04:11:29 djm Exp $
 #	Placed in the Public Domain.
 
 tid="key revocation lists"
@@ -175,8 +175,8 @@ test_rev() {
 	KEYID_RESULT=$7
 	CERTS_RESULT=$8
 	CA_RESULT=$9
-	SERIAL_WRESULT=$10
-	KEYID_WRESULT=$11
+	SERIAL_WRESULT=${10}
+	KEYID_WRESULT=${11}
 	verbose "$tid: checking revocations for $TAG"
 	for f in $FILES ; do
 		check_krl $f $OBJ/krl-empty		no		"$TAG"

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


More information about the openssh-commits mailing list