summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-08-11 02:23:55 +0200
committerDarren Tucker <dtucker@dtucker.net>2022-08-11 02:24:56 +0200
commit4df246ec75751da7eb925e1880498300d8bda187 (patch)
treee01955aa22e70dae55a24333c0110c976d081f6a
parentfix SANDBOX_SECCOMP_FILTER_DEBUG (diff)
downloadopenssh-4df246ec75751da7eb925e1880498300d8bda187.tar.xz
openssh-4df246ec75751da7eb925e1880498300d8bda187.zip
Fix conditional for running hostbased tests.
-rwxr-xr-x.github/run_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/run_test.sh b/.github/run_test.sh
index 7ea216b8c..8eeaf5e9b 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