[LTP] [PATCH 1/6] network/sctp: use TST_NETLOAD_* parameters
Alexey Kodanev
alexey.kodanev@oracle.com
Tue Nov 28 14:08:23 CET 2017
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
---
testcases/network/sctp/sctp01.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/testcases/network/sctp/sctp01.sh b/testcases/network/sctp/sctp01.sh
index 68a872a..197c819 100755
--- a/testcases/network/sctp/sctp01.sh
+++ b/testcases/network/sctp/sctp01.sh
@@ -31,16 +31,17 @@ cleanup()
setup()
{
tst_require_root
+ TST_NETLOAD_MAX_SRV_REPLIES=3
}
test_run()
{
tst_resm TINFO "compare TCP/SCTP performance"
- tst_netload -H $(tst_ipaddr rhost) -a 3 -R 3 -T tcp
+ tst_netload -H $(tst_ipaddr rhost) -T tcp
local res0="$(cat tst_netload.res)"
- tst_netload -H $(tst_ipaddr rhost) -a 3 -R 3 -T sctp
+ tst_netload -H $(tst_ipaddr rhost) -T sctp
local res1="$(cat tst_netload.res)"
local per=$(( $res0 * 100 / $res1 - 100 ))
--
1.7.1
More information about the ltp
mailing list