Home | History | Annotate | Download | only in uni-basic
      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 #   udp4-uni-basic05
     26 #
     27 # Description:
     28 #   Verify that the kernel is not crashed with receiving and sending UDP
     29 #   datagram  with the following conditions
     30 #
     31 #     - The version of IP is IPv4
     32 #     - IPsec(ESP), tunnel mode
     33 #
     34 # Setup:
     35 #   See ltp-yyyymmdd/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 uni-basic testcase
     50 #
     51 
     52 # The test case ID
     53 TCID=udp4-uni-basic05
     54 
     55 # The version of IP
     56 IP_VER=4
     57 
     58 # true, if ipsec is used
     59 DO_IPSEC=true
     60 
     61 # IPsec Protocol
     62 IPSEC_PROTO=esp
     63 
     64 # IPsec Mode
     65 IPSEC_MODE=tunnel
     66 
     67 . udp4-uni-basic01
     68