]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: unbreak test: cannot access shell positional parameters
authordjm@openbsd.org <djm@openbsd.org>
Mon, 16 Jan 2023 04:11:29 +0000 (04:11 +0000)
committerDamien Miller <djm@mindrot.org>
Tue, 17 Jan 2023 10:07:09 +0000 (21:07 +1100)
past $9 without wrapping the position in braces (i.e. need ${10}, etc.)

OpenBSD-Regress-ID: 3750ec98d5d409ce6a93406fedde6f220d2ea2ac

regress/krl.sh

index c381225ed7cd6b30b0d9aaaa1fb81d36fcf0bf33..d560d61e8ce1b4da8dc94f20c7d00cced1f8bbfa 100644 (file)
@@ -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"