File 3211-ct_ftp-Disable-warnings-for-deprecated-functions.patch of Package erlang
From b6eacc26e6529089e8b46a5f38c237f970c197ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Wed, 17 Feb 2021 05:06:20 +0100
Subject: [PATCH 1/3] ct_ftp: Disable warnings for deprecated functions
---
lib/common_test/src/ct_ftp.erl | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/common_test/src/ct_ftp.erl b/lib/common_test/src/ct_ftp.erl
index 93d1f88041..b2fdebb6a9 100644
--- a/lib/common_test/src/ct_ftp.erl
+++ b/lib/common_test/src/ct_ftp.erl
@@ -19,6 +19,7 @@
%%
-module(ct_ftp).
+-compile({nowarn_deprecated_function, [{ftp,start_service,1}, {ftp,stop_service,1}]}).
%% API
-export([get/3,put/3, open/1,close/1, send/2,send/3,
--
2.26.2