summaryrefslogtreecommitdiff
path: root/lib/common_test
diff options
context:
space:
mode:
authorMaxim Fedorov <maximfca@gmail.com>2022-02-01 08:31:29 -0800
committerMaxim Fedorov <maximfca@gmail.com>2022-02-01 08:31:29 -0800
commitaa06ea1f05641c3dd5c90e5b8baccde38dd29e47 (patch)
tree5de60ceeed04ae454141f244d6b6b5cd74f4e1c5 /lib/common_test
parenta942c7bfa7f9fdcc75196e051d26efb3708d2d4c (diff)
downloaderlang-aa06ea1f05641c3dd5c90e5b8baccde38dd29e47.tar.gz
[cleanup] Replace test_server:os_type() with os:type()
Codemod, drops undocumented function in favour of a documented one.
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/src/test_server.erl10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/common_test/src/test_server.erl b/lib/common_test/src/test_server.erl
index 63955f83aa..367a7dc711 100644
--- a/lib/common_test/src/test_server.erl
+++ b/lib/common_test/src/test_server.erl
@@ -43,7 +43,6 @@
-export([peer_name/2, start_peer/3, start_peer/5]).
-export([app_test/1, app_test/2, appup_test/1]).
-export([comment/1, make_priv_dir/0]).
--export([os_type/0]).
-export([run_on_shielded_node/2]).
-export([is_cover/0,is_debug/0,is_commercial/0]).
@@ -3029,15 +3028,6 @@ make_priv_dir() ->
tc_supervisor_req(make_priv_dir).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% os_type() -> OsType
-%%
-%% Returns the OsType of the target node. OsType is
-%% the same as returned from os:type()
-os_type() ->
- os:type().
-
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% is_cover() -> boolean()
%%
%% Returns true if cover is running, else false