aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-05-20 13:07:36 +0200
committerHans Nilsson <[email protected]>2016-05-20 13:07:36 +0200
commitaf9c92b28fcee395fbbb51bc3891dc4360760583 (patch)
tree33aa223b9a7650a9dec6b9c06c8246c6e71544ad /lib/ssh/test
parent2564fd11065cfa926cc28a44b0502bf4a32cc9f4 (diff)
downloadotp-af9c92b28fcee395fbbb51bc3891dc4360760583.tar.gz
otp-af9c92b28fcee395fbbb51bc3891dc4360760583.tar.bz2
otp-af9c92b28fcee395fbbb51bc3891dc4360760583.zip
ssh: tc renaming
Diffstat (limited to 'lib/ssh/test')
-rw-r--r--lib/ssh/test/ssh_algorithms_SUITE.erl26
1 files changed, 1 insertions, 25 deletions
diff --git a/lib/ssh/test/ssh_algorithms_SUITE.erl b/lib/ssh/test/ssh_algorithms_SUITE.erl
index 95fe23a461..7b551a7f18 100644
--- a/lib/ssh/test/ssh_algorithms_SUITE.erl
+++ b/lib/ssh/test/ssh_algorithms_SUITE.erl
@@ -138,9 +138,6 @@ end_per_group(_Alg, Config) ->
-init_per_testcase(sshc_simple_exec_port, Config) ->
- start_pubkey_daemon([?config(pref_algs,Config)], Config);
-
init_per_testcase(sshc_simple_exec_os_cmd, Config) ->
start_pubkey_daemon([?config(pref_algs,Config)], Config);
@@ -148,14 +145,6 @@ init_per_testcase(_TC, Config) ->
Config.
-end_per_testcase(sshc_simple_exec_port, Config) ->
- case ?config(srvr_pid,Config) of
- Pid when is_pid(Pid) ->
- ssh:stop_daemon(Pid),
- ct:log("stopped ~p",[?config(srvr_addr,Config)]);
- _ ->
- ok
- end;
end_per_testcase(sshc_simple_exec_os_cmd, Config) ->
case ?config(srvr_pid,Config) of
Pid when is_pid(Pid) ->
@@ -233,18 +222,6 @@ interpolate(Is) ->
%%--------------------------------------------------------------------
%% Use the ssh client of the OS to connect
-sshc_simple_exec_port(Config) ->
- PrivDir = ?config(priv_dir, Config),
- KnownHosts = filename:join(PrivDir, "known_hosts"),
- {Host,Port} = ?config(srvr_addr, Config),
- Cmd = lists:concat(["ssh -p ",Port,
- " -C",
- " -o UserKnownHostsFile=",KnownHosts,
- " -o StrictHostKeyChecking=no",
- " ",Host," 1+1."]),
- OpenSsh = ssh_test_lib:open_port({spawn, Cmd}, [eof,exit_status]),
- ssh_test_lib:rcv_expected({data,<<"2\n">>}, OpenSsh, ?TIMEOUT).
-
sshc_simple_exec_os_cmd(Config) ->
PrivDir = ?config(priv_dir, Config),
KnownHosts = filename:join(PrivDir, "known_hosts"),
@@ -341,8 +318,7 @@ specific_test_cases(Tag, Alg, SshcAlgos, SshdAlgos) ->
true ->
case ssh_test_lib:ssh_type() of
openSSH ->
- [sshc_simple_exec_os_cmd,
- sshc_simple_exec_port];
+ [sshc_simple_exec_os_cmd];
_ ->
[]
end;