Skip to contentSkip to conversation

testscripts: add appl test in networkstress.sh

PATCH In review Hangbin Liu 2 participants 3 messages Oct 9, 2012 – Feb 25, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 testscripts: add appl test in networkstress.sh

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.

---
 testscripts/networkstress.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
testscripts/networkstress.sh +3 -1
index e04a143..68673f4 100755
@@ -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";;
Signature · 13 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
author
#1 lore raw

Sorry for the less standard subject, I will be careful next time.

2012/10/9 Hangbin Liu <[email protected]>

Quoted 34 lines

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.

---
 testscripts/networkstress.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
testscripts/networkstress.sh +3 -2
index e04a143..68673f4 100755
@@ -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";;
--
Quoted 3 lines

1.7.7.6

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
In reply to Hangbin Liu
Quoted 4 lines · Hangbin Liu

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.

Comitted, thanks. Sorry for late respond.

Caspar

Quoted 19 lines
---
  testscripts/networkstress.sh |    4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)
testscripts/networkstress.sh +1 -0
index e04a143..68673f4 100755
@@ -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

testscripts/networkstress.sh usage () { · line 86

Quoted 10 lines
testscripts/networkstress.sh +2 -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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list