File 0391-ssh-skip-instead-of-fail-test-suite-if-missing-the-t.patch of Package erlang
From d9810a81c94579c9f3db61d746f278a42159d4f1 Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Mon, 10 May 2021 18:55:52 +0200
Subject: [PATCH] ssh: skip instead of fail test suite if missing the test
engine
---
lib/ssh/test/ssh_engine_SUITE.erl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/ssh/test/ssh_engine_SUITE.erl b/lib/ssh/test/ssh_engine_SUITE.erl
index 2494d0e83e..92319205e7 100644
--- a/lib/ssh/test/ssh_engine_SUITE.erl
+++ b/lib/ssh/test/ssh_engine_SUITE.erl
@@ -80,6 +80,8 @@ init_per_suite(Config) ->
{skip, "Engine not supported on this OpenSSL version"};
{error, bad_engine_id} ->
{skip, "Dynamic Engine not supported"};
+ {error, notexist} ->
+ {skip, "No Dynamic Engine to test with"};
Other ->
ct:log("Engine load failed: ~p",[Other]),
{fail, "Engine load failed"}
--
2.26.2