networkingtestandutils/networkingintegrationtest/it_script_files/itest_s5/itest5_12_wlan.script
branchRCL_3
changeset 22 8d540f55e491
parent 21 abbed5a4b42a
child 23 425d8f4f7fa5
equal deleted inserted replaced
21:abbed5a4b42a 22:8d540f55e491
     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 PRINT Integration test 5.12 - IR CSD Outgoing terminated By Link failure with Ipv6,Ipv4 and Ipsec
       
    18 
       
    19 LOAD_SUITE TE_Esock
       
    20 LOAD_SUITE te_esockutil
       
    21 
       
    22 
       
    23 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script
       
    24 //CED z:\testdata\configs\te_esock.xml
       
    25 RUN_UTILS  MkDir c:\private
       
    26 RUN_UTILS  MkDir c:\private\10202be9
       
    27 RUN_UTILS  MkDir c:\private\10202be9\persists
       
    28 RUN_UTILS  MakeReadWrite c:\private\10202be9\persists\cccccc00.cre
       
    29 RUN_UTILS CopyFile z:\testdata\configs\cccccc00_itest5.cre c:\private\10202be9\persists\cccccc00.cre
       
    30 
       
    31 
       
    32 
       
    33 
       
    34 
       
    35 # ipsec dirs
       
    36 run_utils mkdir c:\system\data\security\
       
    37 run_utils mkdir c:\system\data\security\secfiles\
       
    38 
       
    39 # vpn test 1, the IAPs need to be configured for this in advance
       
    40 run_utils copyfile z:\TestData\configs\fbsd_tull.pol c:\system\data\security\secfiles\fbsd_tull.pol
       
    41 run_utils copyfile z:\TestData\configs\fbsd_tull.pin c:\system\data\security\secfiles\fbsd_tull.pin
       
    42 run_utils copyfile z:\TestData\configs\cisco_all.pol c:\system\data\security\secfiles\cisco_all.pol
       
    43 run_utils copyfile z:\TestData\configs\cisco_all.pin c:\system\data\security\secfiles\cisco_all.pin
       
    44 
       
    45 run_utils MakeReadWrite c:\system\data\security\secfiles\fbsd_tull.pin
       
    46 run_utils MakeReadWrite c:\system\data\security\secfiles\fbsd_tull.pol
       
    47 run_utils MakeReadWrite c:\system\data\security\secfiles\ciscol_all.pol
       
    48 run_utils MakeReadWrite c:\system\data\security\secfiles\cisco_all.pin
       
    49 
       
    50 run_utils copyfile z:\TestData\configs\algorithms.conf c:\system\data\security\secfiles\algorithms.conf
       
    51 run_utils MakeReadWrite c:\system\data\security\secfiles\algorithms.conf
       
    52 
       
    53 // open socket server 
       
    54 RUN_TEST_STEP 100 TE_Esock OpenServer   
       
    55 
       
    56 START_TESTCASE			NET-Integration-IrCsd-1401
       
    57 //! @SYMTestCaseID		NET-Integration-IrCsd-1401
       
    58 
       
    59 
       
    60 // open Ipv4 socket
       
    61 #RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s5\itest.ini
       
    62 
       
    63 // use Ipv4 socket
       
    64 #RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s5\ipv4.ini
       
    65 
       
    66 // close socket
       
    67 #RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s5\itest.ini
       
    68 
       
    69 // open Ipv6 socket
       
    70 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s5\itest.ini
       
    71 
       
    72 // do test
       
    73 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s5\ipv6.ini
       
    74 
       
    75 // close using rnif::stop 
       
    76 RUN_TEST_STEP 3000 te_esockutil TE_ESockUtilStopAllInterfaces
       
    77 
       
    78 
       
    79 // check the network is NOT active
       
    80 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive
       
    81 
       
    82 
       
    83 
       
    84 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s4\itest.ini
       
    85 TEST_COMPLETE IR_CSD_test5_12
       
    86 END_TESTCASE			NET-Integration-IrCsd-1401
       
    87 
       
    88 // close socket server 
       
    89 RUN_TEST_STEP 100 TE_Esock CloseServer   
       
    90 
       
    91 // log result
       
    92 PRINT Result for Integration test 5.12 - IR CSD Outgoing terminated By Link failure with Ipv6,Ipv4 and Ipsec
       
    93 
       
    94