Home | History | Annotate | Download | only in multi-diffport
      1 #!/bin/sh
      2 
      3 ################################################################################
      4 ##                                                                            ##
      5 ## Copyright (c) International Business Machines  Corp., 2005                 ##
      6 ##                                                                            ##
      7 ## This program is free software;  you can redistribute it and#or modify      ##
      8 ## it under the terms of the GNU General Public License as published by       ##
      9 ## the Free Software Foundation; either version 2 of the License, or          ##
     10 ## (at your option) any later version.                                        ##
     11 ##                                                                            ##
     12 ## This program is distributed in the hope that it will be useful, but        ##
     13 ## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ##
     14 ## or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License   ##
     15 ## for more details.                                                          ##
     16 ##                                                                            ##
     17 ## You should have received a copy of the GNU General Public License          ##
     18 ## along with this program;  if not, write to the Free Software               ##
     19 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA    ##
     20 ##                                                                            ##
     21 ##                                                                            ##
     22 ################################################################################
     23 #
     24 # File:
     25 #   tcp4-multi-diffport07
     26 #
     27 # Description:
     28 #   Verify that the kernel is not crashed with multiple connection to the
     29 #   different ports with the following condition:
     30 #     - The version of IP is IPv4
     31 #     - Network is not delayed
     32 #     - IPcomp, tunnel mode
     33 #
     34 # Setup:
     35 #   See testcases/network/stress/README
     36 #
     37 # Author:
     38 #   Mitsuru Chinen <mitch (at] jp.ibm.com>
     39 #
     40 # History:
     41 #	Oct 19 2005 - Created (Mitsuru Chinen)
     42 #
     43 #-----------------------------------------------------------------------
     44 # Uncomment line below for debug output.
     45 #trace_logic=${trace_logic:-"set -x"}
     46 $trace_logic
     47 
     48 #
     49 # Variables -- Changed by each multi-diffport testcase
     50 #
     51 
     52 # The test case ID
     53 TCID=tcp4-multi-diffport07
     54 
     55 # The version of IP
     56 IP_VER=4
     57 
     58 # true, if network is delayed
     59 DO_NET_DELAY=false
     60 
     61 # true, if ipsec is used
     62 DO_IPSEC=true
     63 
     64 # IPsec Protocol
     65 IPSEC_PROTO=ipcomp
     66 
     67 # IPsec Mode
     68 IPSEC_MODE=tunnel
     69 
     70 . tcp4-multi-diffport01
     71