[openssh-commits] [openssh] 02/02: Ensure /usr/local/etc exists before using in tests.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Mar 26 17:14:32 AEDT 2024


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 18dbe8eff647aacb82d7e86b4ce63d5beee11f25
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Tue Mar 26 17:13:52 2024 +1100

    Ensure /usr/local/etc exists before using in tests.
---
 .github/run_test.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/run_test.sh b/.github/run_test.sh
index d5fd487d..c997f7f7 100755
--- a/.github/run_test.sh
+++ b/.github/run_test.sh
@@ -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

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list