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