mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
Fix conditional for running hostbased tests.
This commit is contained in:
parent
2580916e48
commit
4df246ec75
2
.github/run_test.sh
vendored
2
.github/run_test.sh
vendored
@ -7,7 +7,7 @@
|
|||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
# If we want to test hostbased auth, set up the host for it.
|
# 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
|
sshconf=/usr/local/etc
|
||||||
hostname | $SUDO tee $sshconf/shosts.equiv >/dev/null
|
hostname | $SUDO tee $sshconf/shosts.equiv >/dev/null
|
||||||
echo "EnableSSHKeysign yes" | $SUDO tee $sshconf/ssh_config >/dev/null
|
echo "EnableSSHKeysign yes" | $SUDO tee $sshconf/ssh_config >/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user