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 # OOM test for DHCPv6. Here we use CommsDB with ipv6 settings |
|
18 # |
|
19 # ORDER IS IMPORTANT! SetIAPToUse and SetAddressMode lines affect the operation of the subsequent commands |
|
20 |
|
21 # Unload esock forcefully |
|
22 RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
23 |
|
24 # Configure commdb |
|
25 # This config file has explicit settings for IPv6 |
|
26 |
|
27 //ced -i z:\TestData\configs\DHCP\DHCPced_ip6.xml |
|
28 RUN_UTILS MkDir c:\private |
|
29 RUN_UTILS MkDir c:\private\10202be9 |
|
30 RUN_UTILS MkDir c:\private\10202be9\persists |
|
31 RUN_UTILS MakeReadWrite c:\private\10202be9\persists\cccccc00.cre |
|
32 |
|
33 RUN_UTILS CopyFile z:\testdata\configs\dhcp\cccccc00_dhcptest_ip6.cre c:\private\10202be9\persists\cccccc00.cre |
|
34 |
|
35 load_suite DhcpTestServer |
|
36 |
|
37 # Load esock |
|
38 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script |
|
39 |
|
40 START_TESTCASE NET-Dhcp-1801 |
|
41 //! @SYMTestCaseID NET-Dhcp-1801 |
|
42 run_test_step 5 DhcpTestServer SetAddressMode z:\TestData\configs\DHCP\dhcptest.ini IPv6 |
|
43 run_test_step 5 DhcpTestServer SetIAPToUse z:\TestData\configs\DHCP\dhcptest.ini EtherWithDaemonNet1 |
|
44 run_test_step 1200 DhcpTestServer OOM_1 z:\TestData\configs\DHCP\dhcptest.ini |
|
45 END_TESTCASE NET-Dhcp-1801 |
|
46 |
|
47 # Stop all interfaces |
|
48 RUN_SCRIPT Z:\TestData\Scripts\te_esock_test_stopallinterfaces.script |
|
49 |
|
50 # Unload esock |
|
51 RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|