Mailing List Archive

[openssh] 01/01: Fix conditional for running hostbased tests.
This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 4df246ec75751da7eb925e1880498300d8bda187
Author: Darren Tucker <dtucker@dtucker.net>
Date: Thu Aug 11 10:23:55 2022 +1000

Fix conditional for running hostbased tests.
---
.github/run_test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/run_test.sh b/.github/run_test.sh
index 7ea216b8..8eeaf5e9 100755
--- a/.github/run_test.sh
+++ b/.github/run_test.sh
@@ -7,7 +7,7 @@
set -ex

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

--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits