os/security/cryptomgmtlibs/securitytestfw/test/autotesting/switextshell_nonmcs.bat
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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 
    17 REM Attempt to stop the execution in case it's accidentally started on a PC
    18 ECHO About to run Security Team textshell Hardware Tests
    19 pause
    20 
    21 REM create testresults directory
    22 md c:\testresults
    23 md e:\testresults
    24 copy z:\buildid.txt e:\
    25 copy z:\buildid.txt e:\testresults
    26 
    27 REM copy hosts file to redirect cam-ocspserver request to ban-ocspserver
    28 md c:\private
    29 md c:\private\10000882
    30 copy z:\hosts c:\private\10000882\hosts
    31 
    32 REM install automated commdb
    33 copy z:\auto.cfg c:\auto.cfg
    34 ced -i c:\auto.cfg
    35 
    36 sntpclient -savings cbtime01.symbian.intra bantime01.symbian.intra
    37 
    38 copy z:\auto.cfg c:\auto.cfg
    39 attrib c:\auto.cfg -r
    40 
    41 testexecute z:\tswi\tuiscriptadaptors\scripts\testupgrades_tshell.script
    42 move c:\logs\testexecute\testupgrades_tshell.htm e:\testresults\testupgrades_tshell.htm
    43 
    44 REM restore standard automated commdb for the rest of the tests
    45 ced -i z:\auto.cfg
    46 
    47 REM SwiConsole Tests
    48 testexecute z:\tswi\tswiconsole\scripts\tswiconsole_tshell.script
    49 move c:\logs\testexecute\tswiconsole_tshell.htm e:\testresults\tswiconsole_tshell.htm
    50 md c:\tswi
    51 md c:\tswi\tbackuprestore
    52 
    53 REM SWI Observer Tests
    54 testexecute z:\tswi\tswiobserver\scripts\testswiobserver_tshell.script
    55 copy c:\logs\testexecute\testswiobserver_tshell.htm e:\testresults\testswiobserver_tshell.htm
    56 
    57 testexecute z:\tswi\tdevcerts\scripts\devcerts_ocsp_tshell.script
    58 move c:\logs\testexecute\devcerts_ocsp_tshell.htm e:\testresults\devcerts_ocsp_tshell.htm
    59 
    60 rem Deletes files left by tswiconsole tests.
    61 attrib c:\Documents\InstTest\file1.txt -r
    62 del c:\Documents\InstTest\file1.txt
    63 
    64 testexecute z:\tswi\tuiscriptadaptors\scripts\switermination_tshell.script
    65 move c:\logs\testexecute\switermination_tshell.htm e:\testresults\switermination_tshell.htm
    66 
    67 testexecute z:\tswi\tuiscriptadaptors\scripts\switextshell_tshell.script
    68 move c:\logs\testexecute\switextshell_tshell.htm e:\testresults\switextshell_tshell.htm
    69 
    70 del c:\temp\*.*
    71 attrib c:\tswi\*.* -r
    72 del c:\tswi\*.*
    73 
    74 attrib c:\logs\testexecute\*.* -r
    75 del c:\logs\testexecute\*.*
    76