mirror of
https://github.com/openbsd/src.git
synced 2026-04-24 14:14:37 +00:00
Use $OBJ for temp file in maxstartups idempotence test.
Fixes test in -portable when run out-of-tree.
This commit is contained in:
@@ -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"
|
||||
@@ -59,7 +59,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
|
||||
|
||||
Reference in New Issue
Block a user