* [LTP] [PATCH] testscripts: add appl test in networkstress.sh
@ 2012-10-09 14:48 Hangbin Liu
2013-02-22 8:05 ` 刘航彬
2013-02-25 6:01 ` Caspar Zhang
0 siblings, 2 replies; 3+ messages in thread
From: Hangbin Liu @ 2012-10-09 14:48 UTC (permalink / raw)
To: LTP list
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [LTP] [PATCH] testscripts: add appl test in networkstress.sh
2012-10-09 14:48 [LTP] [PATCH] testscripts: add appl test in networkstress.sh Hangbin Liu
@ 2013-02-22 8:05 ` 刘航彬
2013-02-25 6:01 ` Caspar Zhang
1 sibling, 0 replies; 3+ messages in thread
From: 刘航彬 @ 2013-02-22 8:05 UTC (permalink / raw)
To: LTP list
[-- Attachment #1.1: Type: text/plain, Size: 1419 bytes --]
Sorry for the less standard subject, I will be careful next time.
2012/10/9 Hangbin Liu <liuhangbin@gmail.com>
> 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
>
>
[-- Attachment #1.2: Type: text/html, Size: 1992 bytes --]
[-- Attachment #2: Type: text/plain, Size: 238 bytes --]
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LTP] [PATCH] testscripts: add appl test in networkstress.sh
2012-10-09 14:48 [LTP] [PATCH] testscripts: add appl test in networkstress.sh Hangbin Liu
2013-02-22 8:05 ` 刘航彬
@ 2013-02-25 6:01 ` Caspar Zhang
1 sibling, 0 replies; 3+ messages in thread
From: Caspar Zhang @ 2013-02-25 6:01 UTC (permalink / raw)
To: Hangbin Liu; +Cc: LTP list
On 10/09/2012 10:48 PM, Hangbin Liu wrote:
> 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>
Comitted, thanks. Sorry for late respond.
Caspar
> ---
> 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";;
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-25 6:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-09 14:48 [LTP] [PATCH] testscripts: add appl test in networkstress.sh Hangbin Liu
2013-02-22 8:05 ` 刘航彬
2013-02-25 6:01 ` Caspar Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox