1 From fb762172fb678fe29327b667f8fe7380962a4540 Mon Sep 17 00:00:00 2001
2 From: Jose Quaresma <jose.quaresma@foundries.io>
3 Date: Mon, 15 Jul 2024 18:43:08 +0100
4 Subject: [PATCH] regress/test-exec: use the absolute path in the SSH env
6 The SSHAGENT_BIN was changed in [1] to SSH_BIN but
7 the last one don't use the absolute path and consequently
8 the function increase_datafile_size can loops forever
9 if the binary not found.
11 [1] https://github.com/openssh/openssh-portable/commit/a68f80f2511f0e0c5cef737a8284cc2dfabad818
13 Upstream-Status: Submitted [https://github.com/openssh/openssh-portable/pull/510]
15 Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
17 regress/test-exec.sh | 5 +++++
18 1 file changed, 5 insertions(+)
20 diff --git a/regress/test-exec.sh b/regress/test-exec.sh
21 index 7afc2807..175f554b 100644
22 --- a/regress/test-exec.sh
23 +++ b/regress/test-exec.sh
24 @@ -175,6 +175,11 @@ if [ "x$TEST_SSH_OPENSSL" != "x" ]; then
27 # Path to sshd must be absolute for rexec
30 +*) SSH=`which $SSH` ;;
35 *) SSHD=`which $SSHD` ;;