File 1309-common_test-fix-spec.patch of Package erlang
From 35eb5598a0bb86ee21734005f69e78d0c1f3b1e6 Mon Sep 17 00:00:00 2001
From: Anton Thomasson <anton.thomasson@ericsson.com>
Date: Fri, 29 Oct 2021 12:19:37 +0200
Subject: [PATCH] common_test: fix spec
Add missing option to spec for ct_gen_conn:start/4.
Without it, dialyzer thinks ct_telnet:open would always fail
since it supplies this option.
---
lib/common_test/src/ct_gen_conn.erl | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/common_test/src/ct_gen_conn.erl b/lib/common_test/src/ct_gen_conn.erl
index 47aa5966bb..6e0cc76582 100644
--- a/lib/common_test/src/ct_gen_conn.erl
+++ b/lib/common_test/src/ct_gen_conn.erl
@@ -56,7 +56,8 @@
%%% Address = term()
%%% Opts = [Opt]
%%% Opt = {name,Name} | {use_existing_connection,boolean()} |
-%%% {reconnect,boolean()} | {forward_messages,boolean()}
+%%% {reconnect,boolean()} | {forward_messages,boolean()} |
+%%% {old, boolean()}
%%%
%%% @doc Open a connection and start the generic connection owner process.
%%%
--
2.31.1