summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ssh/test/ssh_basic_SUITE.erl11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/ssh/test/ssh_basic_SUITE.erl b/lib/ssh/test/ssh_basic_SUITE.erl
index 2ed3a248d5..386730af17 100644
--- a/lib/ssh/test/ssh_basic_SUITE.erl
+++ b/lib/ssh/test/ssh_basic_SUITE.erl
@@ -1467,13 +1467,12 @@ setopts_getopts(Config) ->
ssh:set_sock_opts(ConnectionRef, [{active,once},{deliver,term},{mode,binary},{packet,0}]),
%% Test to set some other opt
- {ok,[{delay_send,DS0},{reuseaddr,RA0}]} =
- ssh:get_sock_opts(ConnectionRef, [delay_send, reuseaddr]),
+ {ok,[{delay_send,DS0}]} =
+ ssh:get_sock_opts(ConnectionRef, [delay_send]),
DS1 = not DS0,
- RA1 = not RA0,
- ok = ssh:set_sock_opts(ConnectionRef, [{delay_send,DS1},{reuseaddr,RA1}]),
- {ok,[{reuseaddr,RA1},{delay_send,DS1}]} =
- ssh:get_sock_opts(ConnectionRef, [reuseaddr,delay_send]),
+ ok = ssh:set_sock_opts(ConnectionRef, [{delay_send,DS1}]),
+ {ok,[{delay_send,DS1}]} =
+ ssh:get_sock_opts(ConnectionRef, [delay_send]),
ssh:stop_daemon(Pid).