123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- #!/bin/sh
- ################################################################################
- ## ##
- ## Copyright (c) International Business Machines Corp., 2005 ##
- ## ##
- ## This program is free software; you can redistribute it and#or modify ##
- ## it under the terms of the GNU General Public License as published by ##
- ## the Free Software Foundation; either version 2 of the License, or ##
- ## (at your option) any later version. ##
- ## ##
- ## This program is distributed in the hope that it will be useful, but ##
- ## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ##
- ## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ##
- ## for more details. ##
- ## ##
- ## You should have received a copy of the GNU General Public License ##
- ## along with this program; if not, write to the Free Software ##
- ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ##
- ## ##
- ## ##
- ################################################################################
- #
- # File:
- # tcp4-uni-winscale01
- #
- # Description:
- # Verify that the kernel is not crashed with a connection to with
- # the following condition:
- # - The version of IP is IPv4
- # - Network is not delayed
- # - IPsec is not used
- # - Enable window scaling
- # - Enable Nagle algorithm
- # - Enable TCP Duplicate SACK support
- # - Enable SACK Support
- # - No packet are lost
- # - Disable TSO if it is avalable
- #
- # *) This script may be read by the other test case
- #
- # Setup:
- # See testcases/network/stress/README
- #
- # Author:
- # Mitsuru Chinen <mitch@jp.ibm.com>
- #
- # History:
- # Oct 19 2005 - Created (Mitsuru Chinen)
- #
- #-----------------------------------------------------------------------
- # Uncomment line below for debug output.
- #trace_logic=${trace_logic:-"set -x"}
- $trace_logic
- # The test case ID, the test case count and the total number of test case
- TCID=${TCID:-tcp4-uni-winscale01}
- TST_TOTAL=1
- TST_COUNT=1
- export TCID
- export TST_COUNT
- export TST_TOTAL
- # Test description
- tst_resm TINFO "Verify that the kernel is not crashed by a connection enabling TCP window scaling"
- # Enable window scaling
- DO_WINDOW_SCALING=true
- # Load tcp4-uni-basic01
- NON_BASIC=true
- . tcp4-uni-basic01
- exit 0
|