public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Hangbin Liu <liuhangbin@gmail.com>
To: LTP list <ltp-list@lists.sourceforge.net>
Subject: [LTP] [PATCH] testscripts: add appl test in networkstress.sh
Date: Tue,  9 Oct 2012 22:48:36 +0800	[thread overview]
Message-ID: <1349794116-5016-1-git-send-email-liuhangbin@gmail.com> (raw)

We have network_stress.appl in runtest dir. But we didn't include this test in
networkstress.sh. Add a new parameter to support appl test.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
 testscripts/networkstress.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/testscripts/networkstress.sh b/testscripts/networkstress.sh
index e04a143..68673f4 100755
--- a/testscripts/networkstress.sh
+++ b/testscripts/networkstress.sh
@@ -59,6 +59,7 @@ usage () {
     echo "---------------------------------------------------------"
     echo -e "\033[31m $0 [options] \033[0m "
     echo "---------------------------------------------------------"
+    echo " -A|a: Stress test for appl"
     echo " -E|e: Stress test for interface"
     echo " -I|i: Stress test for ICMP protocol"
     echo " -T|t: Stress test for TCP/IP"
@@ -76,9 +77,10 @@ usage () {
     exit 1
 }
 
-while getopts EeTtIiUuRrMmSsWwBbVvN:n:D:d: OPTION
+while getopts AaEeTtIiUuRrMmSsWwBbVvN:n:D:d: OPTION
 do
     case $OPTION in
+	A|a) TEST_CASE="network_stress.appl";;
 	E|e) TEST_CASE="network_stress.interface";;
 	B|b) TEST_CASE="network_stress.broken_ip";;
 	I|i) TEST_CASE="network_stress.icmp";;
-- 
1.7.7.6


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

             reply	other threads:[~2012-10-09 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-09 14:48 Hangbin Liu [this message]
2013-02-22  8:05 ` [LTP] [PATCH] testscripts: add appl test in networkstress.sh 刘航彬
2013-02-25  6:01 ` Caspar Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1349794116-5016-1-git-send-email-liuhangbin@gmail.com \
    --to=liuhangbin@gmail.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox