LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0555-ssh-Change-unit-in-measurements.patch of Package erlang (Project home:Ledest:erlang:20)

From dd331b351c1891cc4cf4c134f8982f7cef264d1f Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Fri, 18 Jan 2019 12:30:54 +0100
Subject: [PATCH 2/3] ssh: Change unit in measurements

---
 lib/ssh/test/ssh_bench_SUITE.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/ssh/test/ssh_bench_SUITE.erl b/lib/ssh/test/ssh_bench_SUITE.erl
index 5d8ea240bb..62a10c8c4b 100644
--- a/lib/ssh/test/ssh_bench_SUITE.erl
+++ b/lib/ssh/test/ssh_bench_SUITE.erl
@@ -113,7 +113,7 @@ connect(Config) ->
                            measure_connect(Config,
                                            [{preferred_algorithms,PrefAlgs}])},
                       {suite, ?MODULE},
-                      {name, mk_name(["Connect erlc erld ",KexAlg," [connects/sec]"])}
+                      {name, mk_name(["Connect erlc erld ",KexAlg," [connects per sec]"])}
                      ])
       end, KexAlgs).
 
@@ -224,7 +224,7 @@ connect_measure(Port, Cipher, Mac, Data, Options) ->
     
     report([{value, 1000000 / median(Times)}, % Time in ┬Ás
             {suite, ?MODULE},
-            {name, mk_name(["Transfer ",Cipher,"/",Mac," [Mbyte/s]"])}]).
+            {name, mk_name(["Transfer ",Cipher,"/",Mac," [Mbyte per sec]"])}]).
 
 send_wait_acc(C, Ch, Data) ->
     ssh_connection:send(C, Ch, Data),
-- 
2.16.4