Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
4742-kernel-test-gen-udp-Add-a-recv-and-send-op...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 4742-kernel-test-gen-udp-Add-a-recv-and-send-opts-group.patch of Package erlang
From eddef8a56751e2c311c9f8cd606f0cd60764acb8 Mon Sep 17 00:00:00 2001 From: Micael Karlberg <bmk@erlang.org> Date: Wed, 26 Oct 2022 19:14:24 +0200 Subject: [PATCH 2/3] [kernel|test|gen-udp] Add a 'recv and send opts' group --- lib/kernel/test/gen_udp_SUITE.erl | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/lib/kernel/test/gen_udp_SUITE.erl b/lib/kernel/test/gen_udp_SUITE.erl index 895592a72b..13c8640448 100644 --- a/lib/kernel/test/gen_udp_SUITE.erl +++ b/lib/kernel/test/gen_udp_SUITE.erl @@ -93,6 +93,7 @@ groups() -> {inet_backend_inet, [], inet_backend_inet_cases()}, {inet_backend_socket, [], inet_backend_socket_cases()}, + {recv_and_send_opts, [], recv_and_send_opts_cases()}, {local, [], local_cases()}, {socket_monitor, [], socket_monitor_cases()}, @@ -122,8 +123,7 @@ all_cases() -> reconnect, implicit_inet6, active_n, - recvtos, recvtosttl, recvttl, recvtclass, - sendtos, sendtosttl, sendttl, sendtclass, + {group, recv_and_send_opts}, {group, local}, recv_close, {group, socket_monitor}, @@ -131,6 +131,12 @@ all_cases() -> {group, sockaddr} ]. +recv_and_send_opts_cases() -> + [ + recvtos, recvtosttl, recvttl, recvtclass, + sendtos, sendtosttl, sendttl, sendtclass + ]. + local_cases() -> [ local_basic, @@ -1133,7 +1139,7 @@ recvtclass(Config) -> sendtos(Config) -> - ?TC_TRY(sendtos, fun() -> do_sendtos(Config) end). + ?TC_TRY(?FUNCTION_NAME, fun() -> do_sendtos(Config) end). do_sendtos(Config) -> test_recv_opts( @@ -1142,7 +1148,7 @@ do_sendtos(Config) -> fun sendtos_ok/2). sendtosttl(Config) -> - ?TC_TRY(sendtosttl, fun() -> do_sendtosttl(Config) end). + ?TC_TRY(?FUNCTION_NAME, fun() -> do_sendtosttl(Config) end). do_sendtosttl(Config) -> test_recv_opts( @@ -1162,7 +1168,7 @@ do_sendttl(Config) -> fun sendttl_ok/2). sendtclass(Config) -> - ?TC_TRY(sendtclass, fun() -> do_sendtclass(Config) end). + ?TC_TRY(?FUNCTION_NAME, fun() -> do_sendtclass(Config) end). do_sendtclass(Config) -> {ok,IFs} = inet:getifaddrs(), -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor