mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-17 22:36:53 +00:00
Ensure /usr/local/etc exists before using in tests.
This commit is contained in:
parent
5fc1085128
commit
18dbe8eff6
1
.github/run_test.sh
vendored
1
.github/run_test.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user