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
This commit is contained in:
djm@openbsd.org 2023-01-16 04:11:29 +00:00 committed by Damien Miller
parent 0293c19807
commit aff9493a89
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View 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. # Placed in the Public Domain.
tid="key revocation lists" tid="key revocation lists"
@ -175,8 +175,8 @@ test_rev() {
KEYID_RESULT=$7 KEYID_RESULT=$7
CERTS_RESULT=$8 CERTS_RESULT=$8
CA_RESULT=$9 CA_RESULT=$9
SERIAL_WRESULT=$10 SERIAL_WRESULT=${10}
KEYID_WRESULT=$11 KEYID_WRESULT=${11}
verbose "$tid: checking revocations for $TAG" verbose "$tid: checking revocations for $TAG"
for f in $FILES ; do for f in $FILES ; do
check_krl $f $OBJ/krl-empty no "$TAG" check_krl $f $OBJ/krl-empty no "$TAG"