diff options
author | Hans Nilsson <hans@erlang.org> | 2020-02-27 15:03:33 +0100 |
---|---|---|
committer | Hans Nilsson <hans@erlang.org> | 2020-03-02 12:26:07 +0100 |
commit | e3b166e7fc1ce76f736ee5c35912c1bd1ea2deb5 (patch) | |
tree | 57c2505dedff1be49ca13ebb530a68409011c6f1 | |
parent | b1a35d50346a3c81e070148860fa097c2a045902 (diff) | |
download | erlang-e3b166e7fc1ce76f736ee5c35912c1bd1ea2deb5.tar.gz |
ssh: Remove ssh:set_sock_opt not setable on Windows
-rw-r--r-- | lib/ssh/test/ssh_basic_SUITE.erl | 11 |
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). |