File 0926-ssh-fix-cross-compiled-test-builds.patch of Package erlang
From b0a38beef022dcfd542252cf9c4e07d18d454f20 Mon Sep 17 00:00:00 2001
From: Jakub Witczak <kuba@erlang.org>
Date: Wed, 3 Jan 2024 14:30:34 +0100
Subject: [PATCH] ssh: fix cross compiled test builds
---
lib/ssh/test/ssh_protocol_SUITE.erl | 2 +-
lib/ssh/test/ssh_to_openssh_SUITE.erl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/ssh/test/ssh_protocol_SUITE.erl b/lib/ssh/test/ssh_protocol_SUITE.erl
index 0d83238b92..19fd8a7c77 100644
--- a/lib/ssh/test/ssh_protocol_SUITE.erl
+++ b/lib/ssh/test/ssh_protocol_SUITE.erl
@@ -834,7 +834,7 @@ kex_strict_negotiated(Config0) ->
Level = ssh_test_lib:get_log_level(),
ssh_test_lib:set_log_level(debug),
{ok, ConnRef} = std_connect({Host, Port}, Config, []),
- {algorithms, A} = ssh:connection_info(ConnRef, algorithms),
+ {algorithms, _A} = ssh:connection_info(ConnRef, algorithms),
ssh:stop_daemon(Server),
{ok, Events} = ssh_test_lib:get_log_events(TestRef),
true = ssh_test_lib:kex_strict_negotiated(client, Events),
diff --git a/lib/ssh/test/ssh_to_openssh_SUITE.erl b/lib/ssh/test/ssh_to_openssh_SUITE.erl
index 5a8f4b3118..524e9d98bb 100644
--- a/lib/ssh/test/ssh_to_openssh_SUITE.erl
+++ b/lib/ssh/test/ssh_to_openssh_SUITE.erl
@@ -23,7 +23,7 @@
-include_lib("common_test/include/ct.hrl").
-include("ssh_test_lib.hrl").
--include_lib("ssh/src/ssh_transport.hrl").
+-include("ssh_transport.hrl").
-export([
suite/0,
--
2.35.3