Really mkdir /usr/local/etc in CI tests.

This commit is contained in:
Darren Tucker 2024-03-26 18:38:14 +11:00
parent 2946ed522c
commit 8a421b9277
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

2
.github/run_test.sh vendored
View File

@ -9,7 +9,7 @@ set -ex
# If we want to test hostbased auth, set up the host for it.
if [ ! -z "$SUDO" ] && [ ! -z "$TEST_SSH_HOSTBASED_AUTH" ]; then
sshconf=/usr/local/etc
mkdir -p "${sshconf}"
$SUDO mkdir -p "${sshconf}"
hostname | $SUDO tee $sshconf/shosts.equiv >/dev/null
echo "EnableSSHKeysign yes" | $SUDO tee $sshconf/ssh_config >/dev/null
$SUDO mkdir -p $sshconf