diff options
author | Darren Tucker <dtucker@dtucker.net> | 2022-08-11 02:23:55 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2022-08-11 02:24:56 +0200 |
commit | 4df246ec75751da7eb925e1880498300d8bda187 (patch) | |
tree | e01955aa22e70dae55a24333c0110c976d081f6a | |
parent | fix SANDBOX_SECCOMP_FILTER_DEBUG (diff) | |
download | openssh-4df246ec75751da7eb925e1880498300d8bda187.tar.xz openssh-4df246ec75751da7eb925e1880498300d8bda187.zip |
Fix conditional for running hostbased tests.
-rwxr-xr-x | .github/run_test.sh | 2 |
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 |