File 2962-public_key-Make-a-separate-test-group-for-fingerprin.patch of Package erlang
From 281b3c1cf413f96a702b8ad1d4dc9a690fe909d2 Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Mon, 27 Jan 2020 14:47:28 +0100
Subject: [PATCH 2/2] public_key: Make a separate test group for fingerprint
tests in pubkey_ssh_SUITE
---
lib/public_key/test/pubkey_ssh_SUITE.erl | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/lib/public_key/test/pubkey_ssh_SUITE.erl b/lib/public_key/test/pubkey_ssh_SUITE.erl
index 1f135edd1b..afa3741346 100644
--- a/lib/public_key/test/pubkey_ssh_SUITE.erl
+++ b/lib/public_key/test/pubkey_ssh_SUITE.erl
@@ -39,13 +39,7 @@ suite() ->
all() ->
[{group, ssh_public_key_decode_encode},
- ssh_hostkey_fingerprint_md5_implicit,
- ssh_hostkey_fingerprint_md5,
- ssh_hostkey_fingerprint_sha,
- ssh_hostkey_fingerprint_sha256,
- ssh_hostkey_fingerprint_sha384,
- ssh_hostkey_fingerprint_sha512,
- ssh_hostkey_fingerprint_list
+ {group, ssh_hostkey_fingerprint}
].
groups() ->
@@ -55,7 +49,16 @@ groups() ->
ssh_rfc4716_rsa_subject,
ssh_known_hosts,
ssh_auth_keys, ssh1_known_hosts, ssh1_auth_keys, ssh_openssh_public_key_with_comment,
- ssh_openssh_public_key_long_header]}
+ ssh_openssh_public_key_long_header]},
+
+ {ssh_hostkey_fingerprint, [],
+ [ssh_hostkey_fingerprint_md5_implicit,
+ ssh_hostkey_fingerprint_md5,
+ ssh_hostkey_fingerprint_sha,
+ ssh_hostkey_fingerprint_sha256,
+ ssh_hostkey_fingerprint_sha384,
+ ssh_hostkey_fingerprint_sha512,
+ ssh_hostkey_fingerprint_list]}
].
%%-------------------------------------------------------------------
init_per_suite(Config) ->
--
2.16.4