aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2015-12-22 15:10:00 +0100
committerHans Nilsson <[email protected]>2016-01-18 12:17:04 +0100
commit95f121ed04a632257cd0e429cb16ba9d9a7110bb (patch)
tree6ab466d7a6e668dba3f80f9fda8d96aaed09dde0 /lib/ssh/test
parent2f0941478ed566949eae5d09b4cb16edcbaaec63 (diff)
downloadotp-95f121ed04a632257cd0e429cb16ba9d9a7110bb.tar.gz
otp-95f121ed04a632257cd0e429cb16ba9d9a7110bb.tar.bz2
otp-95f121ed04a632257cd0e429cb16ba9d9a7110bb.zip
ssh: added cipher name to transfer speed report
Diffstat (limited to 'lib/ssh/test')
-rw-r--r--lib/ssh/test/ssh_benchmark_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_benchmark_SUITE.erl b/lib/ssh/test/ssh_benchmark_SUITE.erl
index 24927805e4..781230e728 100644
--- a/lib/ssh/test/ssh_benchmark_SUITE.erl
+++ b/lib/ssh/test/ssh_benchmark_SUITE.erl
@@ -250,9 +250,10 @@ openssh_client_sftp(Config, Options) ->
ct_event:notify(#event{name = benchmark_data,
data = Data});
({channel_open_close,Value,Unit}) ->
+ Cipher = fmt_alg(Algs#alg.encrypt, List),
Data = [{value, round( (1024*Value) / SrcSize )},
{suite, ?MODULE},
- {name, mk_name(["Sftp transfer [",Unit," per kbyte]"])}
+ {name, mk_name(["Sftp transfer ",Cipher," [",Unit," per kbyte]"])}
],
ct:pal("sftp ct_event:notify ~p",[Data]),
ct_event:notify(#event{name = benchmark_data,