Skip to content

Commit

Permalink
Ensure /usr/local/etc exists before using in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
daztucker committed Mar 26, 2024
1 parent 5fc1085 commit 18dbe8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/run_test.sh
Expand Up @@ -9,6 +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}"
hostname | $SUDO tee $sshconf/shosts.equiv >/dev/null
echo "EnableSSHKeysign yes" | $SUDO tee $sshconf/ssh_config >/dev/null
$SUDO mkdir -p $sshconf
Expand Down

0 comments on commit 18dbe8e

Please sign in to comment.