os/security/cryptomgmtlibs/securitytestfw/test/autotesting/runfiletokens_useauth.bat
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptomgmtlibs/securitytestfw/test/autotesting/runfiletokens_useauth.bat Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,63 @@
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 +copy /s z:\tkeystore\ c:\tkeystore\
1.21 +del /s c:\tkeystore\
1.22 +
1.23 +del /s c:\private\101f72a6\keys.dat
1.24 +del /s c:\system\data\keys.dat
1.25 +
1.26 +REM t_keystore
1.27 +copy /s z:\tkeystore\ c:\tkeystore\
1.28 +
1.29 +TESTEXECUTE c:\tkeystore\scripts\initialize.script
1.30 +move c:\logs\testexecute\initialize.htm e:\testresults\initialize.htm
1.31 +
1.32 +T_KEYSTORE c:\tkeystore\scripts\tkeystore_nouserregistered.script c:\logs\testexecute\tkeystore_nouserregistered.htm
1.33 +T_KEYSTORE c:\tkeystore\scripts\tkeystore_nouserregistered.script c:\logs\testexecute\tkeystore_nouserregistered.htm
1.34 +move c:\logs\testexecute\tkeystore_nouserregistered.htm e:\testresults\tkeystore_nouserregistered.htm
1.35 +
1.36 +
1.37 +REM the execution of this code is a prerequisite for running the keystore tests against the test plugins.
1.38 +TESTEXECUTE c:\tkeystore\scripts\reg_first_identity.script
1.39 +move c:\logs\testexecute\reg_first_identity.htm e:\testresults\reg_first_identity.htm
1.40 +
1.41 +REM These set of tests run when keystore has been enbled to use authentication server.
1.42 +T_KEYSTORE c:\tkeystore\scripts\tkeystore_useauth.script c:\logs\testexecute\tkeystore_useauth.htm
1.43 +move c:\logs\testexecute\tkeystore_useauth.htm e:\testresults\tkeystore_useauth.htm
1.44 +
1.45 +T_KEYSTORE c:\tkeystore\scripts\authobjects_useauth.script c:\logs\testexecute\tkeystore_authobjects_useauth.htm
1.46 +move c:\logs\testexecute\tkeystore_authobjects_useauth.htm e:\testresults\tkeystore_authobjects_useauth.htm
1.47 +
1.48 +T_KEYSTORE c:\tkeystore\scripts\exportscript_useauth.script c:\logs\testexecute\tkeystore_export_useauth.htm
1.49 +move c:\logs\testexecute\tkeystore_export_useauth.htm c:\testresults\tkeystore_export_useauth.htm
1.50 +
1.51 +T_KEYSTORE c:\tkeystore\scripts\reload_useauth.script c:\logs\testexecute\tkeystore_reload_useauth.htm
1.52 +move c:\logs\testexecute\tkeystore_reload_useauth.htm e:\testresults\tkeystore_reload_useauth.htm
1.53 +
1.54 +T_KEYSTORE c:\tkeystore\scripts\authenticate_useauth.script c:\logs\testexecute\tkeystore_authenticate_useauth.htm
1.55 +move c:\logs\testexecute\tkeystore_authenticate_useauth.htm e:\testresults\tkeystore_authenticate_useauth.htm
1.56 +
1.57 +T_KEYSTORE c:\tkeystore\scripts\tkeystore_authentication1.script c:\logs\testexecute\tkeystore_authentication1.htm
1.58 +move c:\logs\testexecute\tkeystore_authentication1.htm e:\testresults\tkeystore_authentication1.htm
1.59 +
1.60 +TESTEXECUTE c:\tkeystore\scripts\reg_second_identity.script
1.61 +move c:\logs\testexecute\reg_second_identity.htm e:\testresults\reg_second_identity.htm
1.62 +
1.63 +T_KEYSTORE c:\tkeystore\scripts\tkeystore_authentication2.script c:\logs\testexecute\tkeystore_authentication2.htm
1.64 +move c:\logs\testexecute\tkeystore_authentication2.htm e:\testresults\tkeystore_authentication2.htm
1.65 +
1.66 +del /s c:\tkeystore\