From 18dbe8eff647aacb82d7e86b4ce63d5beee11f25 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 26 Mar 2024 17:13:52 +1100 Subject: [PATCH] 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 d5fd487d9..c997f7f7e 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