From ea56904aef2a38385d596b51f69c08d86081fc75 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 26 Mar 2025 11:01:06 +0100 Subject: [PATCH] tests: improve `SSHD` default value (fixup) Fix typo in the commit improving `SSHD` default. Regression from fb12d87e0edbcd7abc84498b202375a6a1d6938e #1563 Reported-by: Paul Howarth Bug: https://github.com/libssh2/libssh2/pull/1563#issuecomment-2753676646 Closes #1568 --- tests/test_sshd.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_sshd.test b/tests/test_sshd.test index fd316411..bb50f41b 100755 --- a/tests/test_sshd.test +++ b/tests/test_sshd.test @@ -45,7 +45,7 @@ fi d="$(cd "${d}" || exit; pwd)" # sshd needs absolute paths -SSHD="$(command -v "${SSH:-sshd}" || true)" +SSHD="$(command -v "${SSHD:-sshd}" || true)" [[ "${uname}" = *'_NT'* ]] && SSHD="$(cygpath "${SSHD}")" ver="$("${SSHD}" -V 2>&1 || true)" if [[ "${ver}" =~ OpenSSH_[a-zA-Z0-9_\ .,]+ ]]; then