|
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of the License "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 REM Run SWI TEXTSHELL security tests on hardware |
|
17 REM |
|
18 |
|
19 REM Attempt to stop the execution in case it's accidentally started on a PC |
|
20 ECHO About to run Security Team textshell Hardware Tests |
|
21 pause |
|
22 |
|
23 REM create testresults directory |
|
24 md c:\testresults |
|
25 md e:\testresults |
|
26 copy z:\buildid.txt e:\ |
|
27 copy z:\buildid.txt e:\testresults |
|
28 |
|
29 REM copy hosts file to redirect cam-ocspserver request to ban-ocspserver |
|
30 md c:\private |
|
31 md c:\private\10000882 |
|
32 copy z:\hosts c:\private\10000882\hosts |
|
33 |
|
34 REM install automated commdb |
|
35 copy z:\auto.cfg c:\auto.cfg |
|
36 ced -i c:\auto.cfg |
|
37 |
|
38 sntpclient -savings cbtime01.symbian.intra bantime01.symbian.intra |
|
39 |
|
40 copy z:\auto.cfg c:\auto.cfg |
|
41 attrib c:\auto.cfg -r |
|
42 |
|
43 testexecute z:\tswi\tuiscriptadaptors\scripts\testupgrades_tshell.script |
|
44 move c:\logs\testexecute\testupgrades_tshell.htm e:\testresults\testupgrades_tshell.htm |
|
45 |
|
46 REM restore standard automated commdb for the rest of the tests |
|
47 ced -i z:\auto.cfg |
|
48 |
|
49 REM SwiConsole Tests |
|
50 testexecute z:\tswi\tswiconsole\scripts\tswiconsole_tshell.script |
|
51 move c:\logs\testexecute\tswiconsole_tshell.htm e:\testresults\tswiconsole_tshell.htm |
|
52 md c:\tswi |
|
53 md c:\tswi\tbackuprestore |
|
54 |
|
55 REM SWI Observer Tests |
|
56 testexecute z:\tswi\tswiobserver\scripts\testswiobserver_tshell.script |
|
57 copy c:\logs\testexecute\testswiobserver_tshell.htm e:\testresults\testswiobserver_tshell.htm |
|
58 |
|
59 testexecute z:\tswi\tdevcerts\scripts\devcerts_ocsp_tshell.script |
|
60 move c:\logs\testexecute\devcerts_ocsp_tshell.htm e:\testresults\devcerts_ocsp_tshell.htm |
|
61 |
|
62 rem Deletes files left by tswiconsole tests. |
|
63 attrib c:\Documents\InstTest\file1.txt -r |
|
64 del c:\Documents\InstTest\file1.txt |
|
65 |
|
66 testexecute z:\tswi\tuiscriptadaptors\scripts\switermination_tshell.script |
|
67 move c:\logs\testexecute\switermination_tshell.htm e:\testresults\switermination_tshell.htm |
|
68 |
|
69 testexecute z:\tswi\tuiscriptadaptors\scripts\switextshell_tshell.script |
|
70 move c:\logs\testexecute\switextshell_tshell.htm e:\testresults\switextshell_tshell.htm |
|
71 |
|
72 del c:\temp\*.* |
|
73 attrib c:\tswi\*.* -r |
|
74 del c:\tswi\*.* |
|
75 |
|
76 attrib c:\logs\testexecute\*.* -r |
|
77 del c:\logs\testexecute\*.* |
|
78 |