Allow overridding TEST_SSH_SSHD.

This will allow tests to specify an alternative sshd, eg on a remote
machine with different endianness.
This commit is contained in:
Darren Tucker 2024-11-01 19:44:29 +11:00
parent 82662d562c
commit dd416f5bfa
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

View File

@ -757,6 +757,8 @@ unit: regress-unit-binaries
OBJ="$(BUILDDIR)/regress" \ OBJ="$(BUILDDIR)/regress" \
$@ && echo $@ tests passed $@ && echo $@ tests passed
TEST_SSH_SSHD="$(BUILDDIR)/sshd"
interop-tests t-exec file-tests extra-tests: regress-prep regress-binaries $(TARGETS) interop-tests t-exec file-tests extra-tests: regress-prep regress-binaries $(TARGETS)
cd $(srcdir)/regress || exit $$?; \ cd $(srcdir)/regress || exit $$?; \
EGREP='@EGREP@' \ EGREP='@EGREP@' \
@ -771,7 +773,7 @@ interop-tests t-exec file-tests extra-tests: regress-prep regress-binaries $(TAR
TEST_MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \ TEST_MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \
TEST_SSH_SCP="$(BUILDDIR)/scp" \ TEST_SSH_SCP="$(BUILDDIR)/scp" \
TEST_SSH_SSH="$(BUILDDIR)/ssh" \ TEST_SSH_SSH="$(BUILDDIR)/ssh" \
TEST_SSH_SSHD="$(BUILDDIR)/sshd" \ TEST_SSH_SSHD="$(TEST_SSH_SSHD)" \
TEST_SSH_SSHD_SESSION="$(BUILDDIR)/sshd-session" \ TEST_SSH_SSHD_SESSION="$(BUILDDIR)/sshd-session" \
TEST_SSH_SSHD_AUTH="$(BUILDDIR)/sshd-auth" \ TEST_SSH_SSHD_AUTH="$(BUILDDIR)/sshd-auth" \
TEST_SSH_SSHAGENT="$(BUILDDIR)/ssh-agent" \ TEST_SSH_SSHAGENT="$(BUILDDIR)/ssh-agent" \