Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0610-ssh-Fix-compiler-warnings-in-tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0610-ssh-Fix-compiler-warnings-in-tests.patch of Package erlang
From b55f5f00028dca7efa6026e595ee5107486a484b Mon Sep 17 00:00:00 2001 From: Hans Nilsson <hans@erlang.org> Date: Mon, 2 Aug 2021 18:44:35 +0200 Subject: [PATCH 2/2] ssh: Fix compiler warnings in tests --- lib/ssh/test/ssh_chan_behaviours_SUITE.erl | 7 +++---- lib/ssh/test/ssh_connection_SUITE.erl | 6 +++--- lib/ssh/test/ssh_to_openssh_SUITE.erl | 10 +++++----- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/lib/ssh/test/ssh_chan_behaviours_SUITE.erl b/lib/ssh/test/ssh_chan_behaviours_SUITE.erl index 8d6ad13ef5..3c3d1d0981 100644 --- a/lib/ssh/test/ssh_chan_behaviours_SUITE.erl +++ b/lib/ssh/test/ssh_chan_behaviours_SUITE.erl @@ -90,7 +90,6 @@ end_per_testcase(_TC, Config) -> -define(EXPECT(What, Bind), - Bind = (fun() -> receive What -> ct:log("~p:~p ~p got ~p",[?MODULE,?LINE,self(),What]), @@ -129,7 +128,7 @@ defined_subsystem(Config) -> {ok, Ch1} = ssh_connection:session_channel(C, infinity), success = ssh_connection:subsystem(C, Ch1, "ch1", infinity), - IDsrv = ?EXPECT({{_Csrv,_Ch1srv}, {ssh_channel_up,_Ch1srv,_Csrv}}, {_Csrv,_Ch1srv}), + IDsrv = ?EXPECT({{Csrv,Ch1srv}, {ssh_channel_up,Ch1srv,Csrv}}, {Csrv,Ch1srv}), ok = ssh_connection:close(C, Ch1), ?EXPECT({IDsrv, {terminate,normal}}, []), @@ -141,8 +140,8 @@ subsystem_client(Config) -> C = proplists:get_value(connref, Config), {ok,ChRef} = ssh_chan_behaviours_client:start_link(C), - IDclt = ?EXPECT({{C,_Ch1clt}, {ssh_channel_up,_Ch1clt,C}}, {C,_Ch1clt}), - IDsrv = ?EXPECT({{_Csrv,_Ch1srv}, {ssh_channel_up,_Ch1srv,_Csrv}}, {_Csrv,_Ch1srv}), + IDclt = ?EXPECT({{C,Ch1clt}, {ssh_channel_up,_C1clt,C}}, {C,Ch1clt}), + IDsrv = ?EXPECT({{Csrv,_h1srv}, {ssh_channel_up,Ch1srv,Csrv}}, {Csrv,Ch1srv}), ok = ssh_chan_behaviours_client:stop(ChRef), ?EXPECT({IDclt, {terminate,normal}}, []), % From the proper channel handler -- 2.31.1
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