networksecurity/ipsec/te_ipsec_selector_confilict/scripts/ns-ipsec-ike-selectorconflict_bbd1.script
branchRCL_3
changeset 21 abbed5a4b42a
parent 20 7e41d162e158
child 22 8d540f55e491
--- a/networksecurity/ipsec/te_ipsec_selector_confilict/scripts/ns-ipsec-ike-selectorconflict_bbd1.script	Thu Aug 19 11:25:30 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,96 +0,0 @@
-//
-// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of the License "Symbian Foundation License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-/////////////////////////////////////////////////////////////////
-//! @file                   ns-ipsec-ike-selectorconflict_bbd1.script
-//! @SYMScriptAuthor        suresh
-//! @SYMTestSuiteName       te_ipsec_selector_conflict
-//! @SYMScriptCreationDate  thursday july 8 12:23:00 IST 2010
-/////////////////////////////////////////////////////////////////
-
-PRINT Run test case(s) for suite te_ipsec_selector_conflict
-
-// ToDo: Remember to load the relevant suite before starting any test case(s)
-LOAD_SUITE	te_ipsec_selector_conflict  -SharedData
-
-RUN_UTILS CopyFile z:\testdata\configs\Te_ethced_2483.xml c:\Te_ethced_2483.xml
-RUN_UTILS MakeReadWrite c:\Te_ethced_2483.xml
-RUN_PROGRAM -1 ced c:\Te_ethced_2483.xml
-
-RUN_UTILS CopyFile z:\testdata\configs\Te_ethced_2483VPN.xml c:\Te_ethced_2483VPN.xml
-RUN_UTILS MakeReadWrite c:\Te_ethced_2483VPN.xml
-RUN_PROGRAM -1 ced c:\Te_ethced_2483VPN.xml
-
-
-//Create private folder
-RUN_UTILS MkDir c:\private\101f7993\
-
-//copy .pin file from data folder to private folder - one time job
-RUN_UTILS CopyFile z:\testdata\configs\te_2483.pin c:\private\101f7993\te_2483.pin
-RUN_UTILS MakeReadWrite c:\private\101f7993\te_2483.pin
-
-//copy .pol file from data folder to private folder
-RUN_UTILS DeleteFile c:\private\101f7993\linux_tunnel.pol
-RUN_UTILS CopyFile z:\testdata\configs\te_2483.pol c:\private\101f7993\te_2483.pol
-RUN_UTILS MakeReadWrite c:\private\101f7993\te_2483.pol
-	
-//run batch file to ping the linux machine. Pol file is change, so need ceding again.
-RUN_PROGRAM -1 ced c:\Te_ethced_2483.xml
-RUN_PROGRAM -1 ced c:\Te_ethced_2483VPN.xml
-	
-
-START_TESTCASE NET-IPSec-SELECTOR-POLICY-CONFLICT-SA-BBD1
-//! @SYMTestCaseID          NET-IPSec-SELECTOR-POLICY-CONFLICT-SA-BBD1
-//! @SYMCreationDate        08-07-2010
-//! @SYMAuthor              suresh babu k
-//! @SYMTestCaseDesc        IPSec SELECTOR CONFLICT DURING POLICY LOADING
-//!                         
-//!                         DUT should act as the Initiator for Phase 1.
-//!
-//!                         
-//!                         1.Load bypass mode policy                          
-//!                         2.Make connection with secure gateway and send some packets 
-//!                         3.Load another bypass policy 
-//!                         4.Load drop mode policy
-//!     
-//!
-//!                         DH Group - 2
-//!                         
-//!                         Phase 2
-//!                         Security Protocol - ESP
-//!                         Encapsulation Mode - Tunnel
-//!                         Encryption Algorithm - AES with 128-bit keys in CBC mode
-//!                         Authentication Algorithm - AES-XCBC-MAC-96
-//! @SYMREQ                 REQ10662
-
-	
-	START_TEST_BLOCK    100     te_ipsec_selector_conflict   z:\testdata\scripts\ns-ipsec-ikev1test-ops.ini
-	      CREATE_OBJECT   IPSecTestByPassPolicy   IKE-Policy-TestWrapperSection
-	      COMMAND                   IKE-Policy-TestWrapperSection   New
-	      COMMAND                   IKE-Policy-TestWrapperSection   LoadBypassModePolicy         Value1ParamSection
-	      COMMAND                   IKE-Policy-TestWrapperSection   LoadNewBypassModePolicy      Value1ParamSection
-              COMMAND     !Error=-5146  IKE-Policy-TestWrapperSection   LoadDropModePolicy           Value1ParamSection
-              COMMAND     	        IKE-Policy-TestWrapperSection   UnloadNewBypassModePolicy    Value1ParamSection
-              COMMAND     	        IKE-Policy-TestWrapperSection   UnloadBypassModePolicy       Value1ParamSection
-	      COMMAND                   IKE-Policy-TestWrapperSection   Close                        Value1ParamSection
-	END_TEST_BLOCK
-
-END_TESTCASE NET-IPSec-SELECTOR-POLICY-CONFLICT-SA-BBD1   
-
-//!RUN_PROGRAM -1 ced c:\Te_ethced_2483.xml
-
-
-RUN_UTILS DeleteFile c:\Te_ethced_2483VPN.xml
-RUN_UTILS DeleteFile c:\Te_ethced_2483.xml