From: Darren Tucker Date: Thu, 11 Aug 2022 00:23:55 +0000 (+1000) Subject: Fix conditional for running hostbased tests. X-Git-Tag: V_9_1_P1~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4df246ec75751da7eb925e1880498300d8bda187;p=thirdparty%2Fopenssh-portable.git Fix conditional for running hostbased tests. --- 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