File 0470-ssh-Fix-ssh_basic_SUITE-for-missing-pubkey-algos.patch of Package erlang

From b8331ce3159fadd5055664645d497ec68541b84b Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Wed, 4 Mar 2020 17:37:11 +0100
Subject: [PATCH 10/12] ssh: Fix ssh_basic_SUITE for missing pubkey algos

---
 lib/ssh/test/ssh_basic_SUITE.erl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/ssh/test/ssh_basic_SUITE.erl b/lib/ssh/test/ssh_basic_SUITE.erl
index c2942dec4c..99d169010c 100644
--- a/lib/ssh/test/ssh_basic_SUITE.erl
+++ b/lib/ssh/test/ssh_basic_SUITE.erl
@@ -1061,14 +1061,16 @@ internal_error(Config) when is_list(Config) ->
     PrivDir = proplists:get_value(priv_dir, Config),
     UserDir = proplists:get_value(priv_dir, Config),
     SystemDir = filename:join(PrivDir, system),
-    
     {Pid, Host, Port} = ssh_test_lib:daemon([{system_dir, SystemDir},
                                              {user_dir, UserDir},
                                              {failfun, fun ssh_test_lib:failfun/2}]),
 
     %% Now provoke an error in the following connect:
+    file:delete(filename:join(PrivDir, "system/ssh_host_rsa_key")), 
     file:delete(filename:join(PrivDir, "system/ssh_host_dsa_key")), 
     file:delete(filename:join(PrivDir, "system/ssh_host_ecdsa_key")),
+    file:delete(filename:join(PrivDir, "system/ssh_host_ed25519_key")), 
+    file:delete(filename:join(PrivDir, "system/ssh_host_ed448_key")), 
 
     {error, Error} =
         ssh:connect(Host, Port, [{silently_accept_hosts, true},
-- 
2.16.4

openSUSE Build Service is sponsored by