networkingtestandutils/networkingintegrationtest/it_script_files/itest_s5/itest5_13_wlan.script
//
// 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 "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
PRINT Integration test 5.13 - IR CSD Outgoing terminated By Link failure with Ipv4
LOAD_SUITE TE_Esock
LOAD_SUITE te_esockutil
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script
//below fails as '-i' confuses test tool, tried csd_ir.xml file, but test fails with it
//CED z:\testdata\configs\integration\itest_s5\csd-ir.xml
//CED z:\testdata\configs\te_esock.xml
RUN_UTILS MkDir c:\private
RUN_UTILS MkDir c:\private\10202be9
RUN_UTILS MkDir c:\private\10202be9\persists
RUN_UTILS MakeReadWrite c:\private\10202be9\persists\cccccc00.cre
RUN_UTILS CopyFile z:\testdata\configs\cccccc00_itest5.cre c:\private\10202be9\persists\cccccc00.cre
//RUN_SCRIPT Z:\TestData\scripts\te_esock_test_unloadesockForced.script
// open socket server
RUN_TEST_STEP 100 TE_Esock OpenServer
START_TESTCASE NET-Integration-IrCsd-1501
//! @SYMTestCaseID NET-Integration-IrCsd-1501
// open Ipv4 socket
RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s5\itest.ini
// do something
RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s5\ipv4.ini
// simulate link failure - get the user to do this
print User action required to break link
print Press a key to continue when this has been done
pause
// check the link is closed
RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive
// close socket
RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s5\itest.ini
TEST_COMPLETE IR_CSD_test5_13
END_TESTCASE NET-Integration-IrCsd-1501
// close socket server
RUN_TEST_STEP 100 TE_Esock CloseServer
// log result
PRINT Result for Integration test 5.13 - IR CSD Outgoing terminated By Link failure with Ipv4