summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Nilsson <hans@erlang.org>2020-06-01 17:36:13 +0200
committerHans Nilsson <hans@erlang.org>2020-06-16 11:42:34 +0200
commit0680c98c02544e2978f0c5a5e5f22dcfe537f023 (patch)
tree606a11bc68f3c1a2c813c30242791621f0618df6
parent8dc293bb5a7e0d12e681422c5d672c8554441e0c (diff)
downloaderlang-0680c98c02544e2978f0c5a5e5f22dcfe537f023.tar.gz
ssh: Two new cover specs
One is for all ssh files, while the other is for a more realistic subset
-rw-r--r--lib/ssh/test/ssh_all.cover1
-rw-r--r--lib/ssh/test/ssh_limited.cover22
2 files changed, 23 insertions, 0 deletions
diff --git a/lib/ssh/test/ssh_all.cover b/lib/ssh/test/ssh_all.cover
new file mode 100644
index 0000000000..6b2d375589
--- /dev/null
+++ b/lib/ssh/test/ssh_all.cover
@@ -0,0 +1 @@
+{incl_app,ssh,details}.
diff --git a/lib/ssh/test/ssh_limited.cover b/lib/ssh/test/ssh_limited.cover
new file mode 100644
index 0000000000..2b0fcf5bf6
--- /dev/null
+++ b/lib/ssh/test/ssh_limited.cover
@@ -0,0 +1,22 @@
+%% -*- erlang -*-
+
+{incl_app,ssh,details}.
+
+{excl_mods, ssh,
+ [
+ %% App
+ ssh_app,
+
+ %% Supervisors
+ ssh_acceptor_sup, ssh_channel_sup, ssh_connection_sup,
+ sshc_sup, sshd_sup, ssh_subsystem_sup, ssh_sup,
+ ssh_system_sup, ssh_tcpip_forward_acceptor_sup,
+
+ %% Test and/or info modules:
+ ssh_dbg, ssh_info,
+
+ %% API modules (behaviours):
+ ssh_server_key_api, ssh_client_key_api,
+ ssh_sftpd_file_api,
+ ssh_channel, ssh_client_channel, ssh_daemon_channel, ssh_server_channel
+ ]}.