networkingtestandutils/networkingintegrationtest/it_script_files/itest_s5/itest5_06.script
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 //
       
     2 // Copyright (c) 2009 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 PRINT Integration test 5.06 - IR CSD Outgoing terminated By Route Timeout with Ipv4 and Ipsec
       
    18 
       
    19 LOAD_SUITE TE_Esock
       
    20 LOAD_SUITE te_esockutil
       
    21 
       
    22 
       
    23 # ipsec dirs
       
    24 run_utils mkdir c:\system\data\security\
       
    25 run_utils mkdir c:\system\data\security\secfiles\
       
    26 
       
    27 # vpn test 1, the IAPs need to be configured for this in advance
       
    28 run_utils copyfile z:\TestData\configs\fbsd_tull.pol c:\system\data\security\secfiles\fbsd_tull.pol
       
    29 run_utils copyfile z:\TestData\configs\fbsd_tull.pin c:\system\data\security\secfiles\fbsd_tull.pin
       
    30 run_utils copyfile z:\TestData\configs\cisco_all.pol c:\system\data\security\secfiles\cisco_all.pol
       
    31 run_utils copyfile z:\TestData\configs\cisco_all.pin c:\system\data\security\secfiles\cisco_all.pin
       
    32 
       
    33 run_utils MakeReadWrite c:\system\data\security\secfiles\fbsd_tull.pin
       
    34 run_utils MakeReadWrite c:\system\data\security\secfiles\fbsd_tull.pol
       
    35 run_utils MakeReadWrite c:\system\data\security\secfiles\ciscol_all.pol
       
    36 run_utils MakeReadWrite c:\system\data\security\secfiles\cisco_all.pin
       
    37 
       
    38 run_utils copyfile z:\TestData\configs\algorithms.conf c:\system\data\security\secfiles\algorithms.conf
       
    39 run_utils MakeReadWrite c:\system\data\security\secfiles\algorithms.conf
       
    40 
       
    41 // open socket server 
       
    42 RUN_TEST_STEP 100 TE_Esock OpenServer   
       
    43 
       
    44 START_TESTCASE			NET-Integration-IrCsd-0801
       
    45 //! @SYMTestCaseID		NET-Integration-IrCsd-0801
       
    46 
       
    47 
       
    48 // open Ipv4 socket
       
    49 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s5\itest.ini
       
    50 
       
    51 // use socket connection
       
    52 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s5\ipv4.ini
       
    53 
       
    54 // wait more than routetimout
       
    55 print wait for more than Commdb AgentRouteTimeout
       
    56 run_test_step -1 te_esockutil TE_ESockUtilDelay z:\testdata\configs\integration\itest_s5\route_timeout.ini	
       
    57 
       
    58 // check the network is not active
       
    59 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive
       
    60 
       
    61 // close socket
       
    62 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s5\itest.ini
       
    63 TEST_COMPLETE IR_CSD_test5_06
       
    64 END_TESTCASE			NET-Integration-IrCsd-0801
       
    65 
       
    66 // close socket server 
       
    67 RUN_TEST_STEP 100 TE_Esock CloseServer   
       
    68 
       
    69 // log result
       
    70 PRINT Result for Integration test 5.06 - IR CSD Outgoing terminated By Route Timeout with Ipv4 and Ipsec
       
    71 
       
    72 
       
    73