upstream: Use $OBJ for temp file in maxstartups idempotence test.

Fixes test in -portable when run out-of-tree.

OpenBSD-Regress-ID: 8578be08238af4abe2dc91af1c199f7f71f1a7a2
This commit is contained in:
dtucker@openbsd.org
2025-09-26 04:40:45 +00:00
committed by Darren Tucker
parent b4ceca952b
commit 97b32fa2af

View File

@@ -1,4 +1,4 @@
# $OpenBSD: cfgparse.sh,v 1.8 2025/09/01 23:55:29 djm Exp $
# $OpenBSD: cfgparse.sh,v 1.9 2025/09/26 04:40:45 dtucker Exp $
# Placed in the Public Domain.
tid="sshd config parse"
@@ -73,7 +73,7 @@ EOD
# Check idempotence of MaxStartups
verbose "maxstartups idempotent"
echo "maxstartups 1:2:3" > sshd_config.0
echo "maxstartups 1:2:3" > $OBJ/sshd_config.0
cat > $OBJ/sshd_config.1 <<EOD
${SSHD_KEYS}
MaxStartups 1:2:3