os/security/cryptomgmtlibs/securitytestfw/test/autotesting/switextshell_nonmcs.bat
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/cryptomgmtlibs/securitytestfw/test/autotesting/switextshell_nonmcs.bat	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,76 @@
     1.4 +@rem
     1.5 +@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +@rem All rights reserved.
     1.7 +@rem This component and the accompanying materials are made available
     1.8 +@rem under the terms of the License "Eclipse Public License v1.0"
     1.9 +@rem which accompanies this distribution, and is available
    1.10 +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +@rem
    1.12 +@rem Initial Contributors:
    1.13 +@rem Nokia Corporation - initial contribution.
    1.14 +@rem
    1.15 +@rem Contributors:
    1.16 +@rem
    1.17 +@rem Description: 
    1.18 +@rem
    1.19 +
    1.20 +REM Attempt to stop the execution in case it's accidentally started on a PC
    1.21 +ECHO About to run Security Team textshell Hardware Tests
    1.22 +pause
    1.23 +
    1.24 +REM create testresults directory
    1.25 +md c:\testresults
    1.26 +md e:\testresults
    1.27 +copy z:\buildid.txt e:\
    1.28 +copy z:\buildid.txt e:\testresults
    1.29 +
    1.30 +REM copy hosts file to redirect cam-ocspserver request to ban-ocspserver
    1.31 +md c:\private
    1.32 +md c:\private\10000882
    1.33 +copy z:\hosts c:\private\10000882\hosts
    1.34 +
    1.35 +REM install automated commdb
    1.36 +copy z:\auto.cfg c:\auto.cfg
    1.37 +ced -i c:\auto.cfg
    1.38 +
    1.39 +sntpclient -savings cbtime01.symbian.intra bantime01.symbian.intra
    1.40 +
    1.41 +copy z:\auto.cfg c:\auto.cfg
    1.42 +attrib c:\auto.cfg -r
    1.43 +
    1.44 +testexecute z:\tswi\tuiscriptadaptors\scripts\testupgrades_tshell.script
    1.45 +move c:\logs\testexecute\testupgrades_tshell.htm e:\testresults\testupgrades_tshell.htm
    1.46 +
    1.47 +REM restore standard automated commdb for the rest of the tests
    1.48 +ced -i z:\auto.cfg
    1.49 +
    1.50 +REM SwiConsole Tests
    1.51 +testexecute z:\tswi\tswiconsole\scripts\tswiconsole_tshell.script
    1.52 +move c:\logs\testexecute\tswiconsole_tshell.htm e:\testresults\tswiconsole_tshell.htm
    1.53 +md c:\tswi
    1.54 +md c:\tswi\tbackuprestore
    1.55 +
    1.56 +REM SWI Observer Tests
    1.57 +testexecute z:\tswi\tswiobserver\scripts\testswiobserver_tshell.script
    1.58 +copy c:\logs\testexecute\testswiobserver_tshell.htm e:\testresults\testswiobserver_tshell.htm
    1.59 +
    1.60 +testexecute z:\tswi\tdevcerts\scripts\devcerts_ocsp_tshell.script
    1.61 +move c:\logs\testexecute\devcerts_ocsp_tshell.htm e:\testresults\devcerts_ocsp_tshell.htm
    1.62 +
    1.63 +rem Deletes files left by tswiconsole tests.
    1.64 +attrib c:\Documents\InstTest\file1.txt -r
    1.65 +del c:\Documents\InstTest\file1.txt
    1.66 +
    1.67 +testexecute z:\tswi\tuiscriptadaptors\scripts\switermination_tshell.script
    1.68 +move c:\logs\testexecute\switermination_tshell.htm e:\testresults\switermination_tshell.htm
    1.69 +
    1.70 +testexecute z:\tswi\tuiscriptadaptors\scripts\switextshell_tshell.script
    1.71 +move c:\logs\testexecute\switextshell_tshell.htm e:\testresults\switextshell_tshell.htm
    1.72 +
    1.73 +del c:\temp\*.*
    1.74 +attrib c:\tswi\*.* -r
    1.75 +del c:\tswi\*.*
    1.76 +
    1.77 +attrib c:\logs\testexecute\*.* -r
    1.78 +del c:\logs\testexecute\*.*
    1.79 +