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-uni-winscale01 26# 27# Description: 28# Verify that the kernel is not crashed with a connection to with 29# the following condition: 30# - The version of IP is IPv4 31# - Network is not delayed 32# - IPsec is not used 33# - Enable window scaling 34# - Enable Nagle algorithm 35# - Enable TCP Duplicate SACK support 36# - Enable SACK Support 37# - No packet are lost 38# - Disable TSO if it is avalable 39# 40# *) This script may be read by the other test case 41# 42# Setup: 43# See testcases/network/stress/README 44# 45# Author: 46# Mitsuru Chinen <mitch@jp.ibm.com> 47# 48# History: 49# Oct 19 2005 - Created (Mitsuru Chinen) 50# 51#----------------------------------------------------------------------- 52# Uncomment line below for debug output. 53#trace_logic=${trace_logic:-"set -x"} 54$trace_logic 55 56# The test case ID, the test case count and the total number of test case 57TCID=${TCID:-tcp4-uni-winscale01} 58TST_TOTAL=1 59TST_COUNT=1 60export TCID 61export TST_COUNT 62export TST_TOTAL 63 64# Test description 65tst_resm TINFO "Verify that the kernel is not crashed by a connection enabling TCP window scaling" 66 67# Enable window scaling 68DO_WINDOW_SCALING=true 69 70# Load tcp4-uni-basic01 71NON_BASIC=true 72 73. tcp4-uni-basic01 74 75exit 0 76