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