[LTP] [PATCH 3/4] tst_netload: support new -F option for netstress client
Alexey Kodanev
alexey.kodanev@oracle.com
Wed Oct 25 18:11:58 CEST 2017
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
---
testcases/lib/test_net.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/testcases/lib/test_net.sh b/testcases/lib/test_net.sh
index 030dd9e..78f8629 100644
--- a/testcases/lib/test_net.sh
+++ b/testcases/lib/test_net.sh
@@ -414,7 +414,7 @@ tst_netload()
local s_opts=
OPTIND=0
- while getopts :a:H:d:n:N:r:R:b:t:T:fe:m: opt; do
+ while getopts :a:H:d:n:N:r:R:b:t:T:fFe:m: opt; do
case "$opt" in
a) c_num="$OPTARG" ;;
H) c_opts="${c_opts}-H $OPTARG " ;;
@@ -429,6 +429,7 @@ tst_netload()
type="$OPTARG" ;;
m) cs_opts="${cs_opts}-m $OPTARG " ;;
f) cs_opts="${cs_opts}-f " ;;
+ F) cs_opts="${cs_opts}-F " ;;
e) expect_res="$OPTARG" ;;
*) tst_brkm TBROK "tst_netload: unknown option: $OPTARG" ;;
esac
--
1.7.1
More information about the ltp
mailing list