telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/te_spudmbufexhaustion.script
branchRCL_3
changeset 74 9200f38b1324
equal deleted inserted replaced
70:4814c5a49428 74:9200f38b1324
       
     1 //
       
     2 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 
       
    17 RUN_UTILS  MkDir c:\simtsy\
       
    18 RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
       
    19 RUN_UTILS  MakeReadWrite c:\config.txt
       
    20 RUN_UTILS  MakeReadWrite c:\loopback.ini
       
    21 RUN_UTILS  DeleteFile c:\simtsy\config.txt
       
    22 RUN_UTILS  DeleteFile c:\config.txt
       
    23 RUN_UTILS  DeleteFile c:\loopback.ini
       
    24 
       
    25 RUN_UTILS  CopyFile z:\TestData\Configs\te_spudnetworkside_mbufexhaustion_config.txt c:\simtsy\config.txt
       
    26 RUN_UTILS  CopyFile z:\TestData\Configs\te_spudnetworkside_mbufexhaustion_config.txt c:\config.txt
       
    27 RUN_UTILS  CopyFile z:\TestData\Configs\te_spudnetworkside_mbufexhaustion_loopbackCSY.ini c:\loopback.ini
       
    28 
       
    29 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
    30 ced -i z:\testdata\configs\te_spudnetworkside_mbufexhaustion.cfg
       
    31 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
    32 
       
    33 LOAD_SUITE TE_SpudNetworkSide
       
    34 
       
    35 START_TESTCASE          CBS-RAWIP-0002
       
    36 //! @SYMTestCaseID      CBS-RAWIP-0002
       
    37 //! @SYMTestCaseDesc Checks that the PDP flow is robust when MBufs are exhausted.
       
    38 //! @SYMTestActions Connect 2 sockets using loopback, PDP flow receives a packet when MBufs are exhausted, PDP flow subsequently receives a packet when MBufs available.  
       
    39 //! @SYMTestExpectedResults  No packet received when MBufs are exhausted, packet received when MBufs available.
       
    40 //! @SYMTestPriority Critical
       
    41 //! @SYMTestStatus Implemented
       
    42 //! @SYMTestType CIT
       
    43 RUN_TEST_STEP 2000 TE_SpudNetworkSide CRawIpMBufExhaustionRx z:\testdata\configs\te_spudnetworkside_mbufexhaust.ini MBufExhaustionRx
       
    44 END_TESTCASE            CBS-RAWIP-0002
       
    45 
       
    46 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
    47 
       
    48 RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
       
    49 RUN_UTILS  MakeReadWrite c:\config.txt
       
    50 RUN_UTILS  MakeReadWrite c:\loopback.ini
       
    51 RUN_UTILS  DeleteFile c:\simtsy\config.txt
       
    52 RUN_UTILS  DeleteFile c:\config.txt
       
    53 RUN_UTILS  DeleteFile c:\loopback.ini