sl@0: // sl@0: // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: //! @file sl@0: // filetokens tools unit (integration) tests sl@0: PRINT Run all certtool and keytool tests sl@0: LOAD_SUITE ttesttools sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0001 sl@0: //! @SYMTestCaseDesc Certool help command sl@0: //! (certhelp) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool for the help command sl@0: //! @SYMTestExpectedResults Certtool help command should display the help command as expected sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0001 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\certhelp.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certhelp sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0001 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0002 sl@0: //! @SYMTestCaseDesc Certool Individual help command sl@0: //! (certhelp_individual) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool for the Individual help command sl@0: //! @SYMTestExpectedResults Certtool Individual help command should display the help command as expected sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0002 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_helpls.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certhelp_individual sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0002 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0003 sl@0: //! @SYMTestCaseDesc Certool liststore command sl@0: //! (certtool_liststores) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool for the liststore command then parse the output file and constuct the expected stores sl@0: //! @SYMTestExpectedResults Call certstore via CUnifiedCertstore and compare with the expected stores sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0003 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_ls.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_liststores sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0003 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0004 sl@0: //! @SYMTestCaseDesc Certool import command sl@0: //! (certtool_import_store0) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to import the certificate. sl@0: //! @SYMTestExpectedResults Call certstore list via CUnifiedCertstore and confirms the certificate is listed sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0004 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_import1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_store0 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0004 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0005 sl@0: //! @SYMTestCaseDesc Certool import command sl@0: //! (certtool_import_store1) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to import the certificate to store 1 sl@0: //! @SYMTestExpectedResults Call certstore list via CUnifiedCertstore and confirms the certificate is listed sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0005 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_import2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_store1 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0005 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0006 sl@0: //! @SYMTestCaseDesc Certool import command sl@0: //! (certtool_import_store01twice) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to import the same certificate with same name in two different stores sl@0: //! @SYMTestExpectedResults Call certstore list via CUnifiedCertstore and confirms the certificate is listed sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0006 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_import3.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_store01twice sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0006 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0007 sl@0: //! @SYMTestCaseDesc Certool import command sl@0: //! (certtool_import_keycert) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to import the certificate as well as the key sl@0: //! @SYMTestExpectedResults Call certstore list via CUnifiedCertstore and confirms the certificate is listed sl@0: //! Call keystore list via CUnifiedKeystore and confirms the key is listed sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0007 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_import4.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_keycert sl@0: RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_keycert sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0007 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0008 sl@0: //! @SYMTestCaseDesc Certool setapps command sl@0: //! (certtool_setapps) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to set the application trust status for the certificate sl@0: //! @SYMTestExpectedResults Query certstore via CUnifiedCertstore for the certificats trust status sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0008 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_setapps.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools GetTrustAppsStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_setapps sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0008 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0009 sl@0: //! @SYMTestCaseDesc Certool addapps command sl@0: //! (certtool_addapps) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to add the application trust status for the certificate sl@0: //! @SYMTestExpectedResults Query certstore via CUnifiedCertstore for the certificats trust status sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0009 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_addapps.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools GetTrustAppsStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_addapps sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0009 sl@0: sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0010 sl@0: //! @SYMTestCaseDesc Certool removeapps command sl@0: //! (certtool_removeapps) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to remove the application trust status for the certificate sl@0: //! @SYMTestExpectedResults Query certstore via CUnifiedCertstore for the certificats trust status sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0010 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_removeapps.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools GetTrustAppsStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_removeapps sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0010 sl@0: sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0011 sl@0: //! @SYMTestCaseDesc Certool list command sl@0: //! (certtool_list) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to list the certificate then parse the output file and construct the expected cert list sl@0: //! @SYMTestExpectedResults Query certstore list via CUnifiedCertstore and confirms with the expected certlist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0011 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_list1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_list sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0011 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0012 sl@0: //! @SYMTestCaseDesc Certool list the certficate in store 1 sl@0: //! (certtool_list_store) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to list the certificate in store 1 then parse the output file and construct the expected cert list sl@0: //! @SYMTestExpectedResults Query certstore list via CUnifiedCertstore and confirms with the expected certlist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0012 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_list2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_list_store sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0012 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0013 sl@0: //! @SYMTestCaseDesc Certool list a particular certificate sl@0: //! (certtool_list_cert) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to list the certificate sl@0: //! @SYMTestExpectedResults Query certstore list via CUnifiedCertstore and confirms with the expected certificate sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0013 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_list3.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_list_cert sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0013 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0014 sl@0: //! @SYMTestCaseDesc Certool list a particular owner type sl@0: //! (certtool_list_certowner) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to list the certificate for a particular owner sl@0: //! @SYMTestExpectedResults Query certstore list via CUnifiedCertstore and confirms with the expected certlist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0014 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_list4.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_list_certowner sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0014 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0015 sl@0: //! @SYMTestCaseDesc Certool remove command sl@0: //! (certtool_remove) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to remove the certificate sl@0: //! @SYMTestExpectedResults Query certstore list via CUnifiedCertstore and confirm that the certificate won't be listed sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0015 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_remove1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_remove1 sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_remove2 sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_remove3 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0015 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0016 sl@0: //! @SYMTestCaseDesc Certool remove key and cert sl@0: //! (certtool_removekey) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to remove the certificate as well as key sl@0: //! @SYMTestExpectedResults Query certstore and keystore and confirms both cert and key are deleted. sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0016 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_remove2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_removekey sl@0: RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_removekey sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0016 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0017 sl@0: //! @SYMTestCaseDesc keytool help command sl@0: //! (keytool_help) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to display the help command sl@0: //! @SYMTestExpectedResults help command should display the help command as expected sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0017 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\keyhelp.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_help sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0017 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0018 sl@0: //! @SYMTestCaseDesc keytool Individual help command sl@0: //! (keytool_help_individual) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to display the Individual help command sl@0: //! @SYMTestExpectedResults help command should display the help command as expected sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0018 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_setuserhelp.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_help_individual sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0018 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0019 sl@0: //! @SYMTestCaseDesc keytool liststore command sl@0: //! (keytool_liststores) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool for the liststore command then parse the output file and constuct the expected stores sl@0: //! @SYMTestExpectedResults Call keystore via CUnifiedKeystore and compare with the expected stores sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0019 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_ls.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_liststores sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0019 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0020 sl@0: //! @SYMTestCaseDesc keytool import command sl@0: //! (keytool_import_key) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to import the certtificate. sl@0: //! @SYMTestExpectedResults Call keystore list via CUnifiedkeystore and confirms the key is listed sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0020 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_import1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_import_key sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0020 sl@0: sl@0: //! Test case 21 and 22 should be uncommented after fix the defect DEF113031 sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0021 sl@0: //! @SYMTestCaseDesc keytool import command sl@0: //! (keytool_import_key_store1) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to import the key to store 1 sl@0: //! @SYMTestExpectedResults Call keystore list via CUnifiedKeystore and confirms the key is listed sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: // START_TESTCASE SEC-FILETOKENS-EC097-0021 sl@0: // RUN_PROGRAM keytool.exe c:\ttesttools\data\key_import2.txt c:\output.txt sl@0: // RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_import_key_store1 sl@0: // END_TESTCASE SEC-FILETOKENS-EC097-0021 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0022 sl@0: //! @SYMTestCaseDesc keytool import command sl@0: //! (keytool_import_key_store01twice) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to import the same key with same name in two different stores sl@0: //! @SYMTestExpectedResults Call keystore list via CUnifiedKeystore and confirms the key is listed sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: // START_TESTCASE SEC-FILETOKENS-EC097-0022 sl@0: // RUN_PROGRAM keytool.exe c:\ttesttools\data\key_import3.txt c:\output.txt sl@0: // RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_import_key_store01twice sl@0: // END_TESTCASE SEC-FILETOKENS-EC097-0022 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0023 sl@0: //! @SYMTestCaseDesc keytool list command sl@0: //! (keytool_list) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to list the keys then parse the output file and construct the expected key list sl@0: //! @SYMTestExpectedResults Query keystore list via CUnifiedKeystore and confirms with the expected keylist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0023 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_list1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_list sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0023 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0024 sl@0: //! @SYMTestCaseDesc keytool list the keys in store 0 sl@0: //! (keytool_list_store) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to list the keys in store 0 then parse the output file and construct the expected key list sl@0: //! @SYMTestExpectedResults Query keystore list via CUnifiedKeystore and confirms with the expected key list. sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0024 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_list2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_list_store sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0024 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0025 sl@0: //! @SYMTestCaseDesc keytool list a particular key sl@0: //! (keytool_list_key) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to list the key sl@0: //! @SYMTestExpectedResults Query keystore list via CUnifiedKeystore and confirms with the expected key sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0025 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_list3.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_list_key sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0025 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0026 sl@0: //! @SYMTestCaseDesc keytool remove a particular key sl@0: //! (keytool_remove) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to remove the key sl@0: //! @SYMTestExpectedResults Query keystore list via CUnifiedKeystore and confirms with the expected key won't be listed sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0026 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_remove.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_remove sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0026 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0027 sl@0: //! @SYMTestCaseDesc keytool setuser command sl@0: //! (keytool_setuser) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to setuser for the key sl@0: //! @SYMTestExpectedResults Query keystore via CUnifiedKeystore for the key user. sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0027 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_setuser.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools GetPolicyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_setuser sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0027 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0028 sl@0: //! @SYMTestCaseDesc keytool setalluser command sl@0: //! (keytool_setallusers) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to setalluser for the key sl@0: //! @SYMTestExpectedResults Query keystore via CUnifiedKeystore for the key user. sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0028 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_setalluser.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools GetPolicyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_setallusers sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0028 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0029 sl@0: //! @SYMTestCaseDesc keytool setmanager command sl@0: //! (keytool_setmanager) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to setmanager for the key sl@0: //! @SYMTestExpectedResults Query keystore via CUnifiedKeystore for the key manager. sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0029 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_setmanager.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools GetPolicyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_setmanager sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0029 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0030 sl@0: //! @SYMTestCaseDesc keytool removeuser command sl@0: //! (keytool_removeuser) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call keytool to remove the user for the key sl@0: //! @SYMTestExpectedResults Query keystore via CUnifiedKeystore for the key user. sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0030 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_removeuser.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools GetPolicyStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_removeuser sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0030 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0031 sl@0: //! @SYMTestCaseDesc certtool imported key managed by keytool sl@0: //! (certtoolkey_keytoolmanage) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call certtool to import a key then call keytool to setuser,removeuser , remove the key sl@0: //! @SYMTestExpectedResults Query keystore via CUnifiedKeystore for the key Details. sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0031 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_import4.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_keycert sl@0: RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_keycert sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_import4.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools GetPolicyStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtoolkey_keytoolmanage sl@0: RUN_TEST_STEP 100 ttesttools GetPolicyStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtoolkey_keytoolmanage1 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0031 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0032 sl@0: //! @SYMTestCaseDesc Certool help command sl@0: //! (certtool_helpfail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool for the help command without any argument sl@0: //! @SYMTestExpectedResults Certtool help command should display the help command as expected sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0032 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_helpfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certhelp sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0032 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0033 sl@0: //! @SYMTestCaseDesc Certool Individual help command sl@0: //! (certtool_individual_helpfail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool for the individual help command with wrong command sl@0: //! @SYMTestExpectedResults Certtool help command should display the help command as expected sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0033 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_helpfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certhelp sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0033 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0035 sl@0: //! @SYMTestCaseDesc Certool importing twice sl@0: //! (certtool_import_twicefail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to import a certificate twice sl@0: //! @SYMTestExpectedResults Certtool should display the error message as already exists sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0035 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_importfail1.txt c:\output.txt sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_importfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_twicefail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0035 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0036 sl@0: //! @SYMTestCaseDesc Certool importing certficate to non existing store sl@0: //! (certtool_import_emptycertstorefail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to import a certificate to non existing store sl@0: //! @SYMTestExpectedResults Certtool should display the error message as not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0036 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_importfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_emptycertstorefail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0036 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0037 sl@0: //! @SYMTestCaseDesc Certool importing nonexisting certificate sl@0: //! (certtool_import_nonexistfail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to import a nonexisting certficate sl@0: //! @SYMTestExpectedResults Certtool should display the error message as cannot open the file sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0037 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_importfail3.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_nonexistfail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0037 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0038 sl@0: //! @SYMTestCaseDesc Certool importing corrupted certificate sl@0: //! (certtool_import_corruptcertfail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to import a corrupted certificate sl@0: //! @SYMTestExpectedResults Certtool should display the error message as corrupted sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0038 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_importfail4.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_corruptcertfail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0038 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0039 sl@0: //! @SYMTestCaseDesc Certool importing a empty certficate sl@0: //! (certtool_import_emptycertfail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to import a empty certficate sl@0: //! @SYMTestExpectedResults Certtool should display the error message as cannot open the file sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0039 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_importfail5.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import_emptycertfail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0039 sl@0: sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0040 sl@0: //! @SYMTestCaseDesc Certool setapps command sl@0: //! (certtool_setapps_invalidfail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to setapps a certificate where the apps is not exist sl@0: //! @SYMTestExpectedResults Certtool should display the error message try one of existing apps sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0040 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_setappsfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_setapps_invalidfail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0040 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0041 sl@0: //! @SYMTestCaseDesc Certool setapps command sl@0: //! (certtool_setapps_userfail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to setapps a user certificate sl@0: //! @SYMTestExpectedResults Certtool should display the error message error occured while adding applicability sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0041 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_setappsfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_setapps_userfail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0041 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0042 sl@0: //! @SYMTestCaseDesc Certool addapps command sl@0: //! (certtool_addapps_invalidfail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to addapps a certificate where the apps is not exist sl@0: //! @SYMTestExpectedResults Certtool should display the error message try one of existing apps sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0042 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_addappsfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_addapps_invalidfail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0042 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0043 sl@0: //! @SYMTestCaseDesc Certool addapps command sl@0: //! (certtool_addapps_userfail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to addapps a certificate where the apps is not exist sl@0: //! @SYMTestExpectedResults Certtool should display the error message error occured while adding applicability sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0043 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_setappsfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_addapps_userfail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0043 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0044 sl@0: //! @SYMTestCaseDesc Certool removeapps command sl@0: //! (certtool_removeapps_invalidfail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to removeapps a certificate where the apps is not exist sl@0: //! @SYMTestExpectedResults Certtool should display the error message try one of existing apps sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0044 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_removeappsfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_removeapps_invalidfail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0044 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0045 sl@0: //! @SYMTestCaseDesc Certool removeapps command sl@0: //! (certtool_removeapps_untrustfail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to removeapps a certificate where the applicability is not exist sl@0: //! @SYMTestExpectedResults Certtool should display the error message not trusted for the apps sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0045 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_removeappsfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_removeapps_untrustfail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0045 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0046 sl@0: //! @SYMTestCaseDesc Certool list command sl@0: //! (certtool_list_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to list a certificate where the certificate store is not exist sl@0: //! @SYMTestExpectedResults Certtool should display the error message store not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0046 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_listfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_list_fail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0046 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0047 sl@0: //! @SYMTestCaseDesc Certool list command sl@0: //! (certtool_list_fail1) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to list a certificate where the certificate is not exist sl@0: //! @SYMTestExpectedResults Certtool should display the error message certificate is not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0047 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_listfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_list_fail1 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0047 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0034 sl@0: //! @SYMTestCaseDesc Certool list command sl@0: //! (certtool_list_fail2) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to list a certificate ownere where the owner is not exist sl@0: //! @SYMTestExpectedResults Certtool should display the error message as no certificate exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0034 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_listfail3.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_list_fail2 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0034 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0048 sl@0: //! @SYMTestCaseDesc Certool remove command sl@0: //! (certtool_remove_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to remove a certificate where the certificate is not exist sl@0: //! @SYMTestExpectedResults Certtool should display the error message certificate not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0048 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_removefail.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_remove_fail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0048 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0049 sl@0: //! @SYMTestCaseDesc Certool command sl@0: //! (certtool_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool command in unspecified order sl@0: //! @SYMTestExpectedResults Certtool should display the help message sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0049 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\certfail.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certhelp sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0049 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0050 sl@0: //! @SYMTestCaseDesc Keytool help command sl@0: //! (keytool_help_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool help command without any argument sl@0: //! @SYMTestExpectedResults Keytool should display the help message sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0050 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_helpfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_help sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0050 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0051 sl@0: //! @SYMTestCaseDesc Keytool Individual help command sl@0: //! (keytool_help_fail1) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool Individual help command where the command is not exist sl@0: //! @SYMTestExpectedResults Keytool should display the help message sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0051 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_helpfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_help sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0051 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0053 sl@0: //! @SYMTestCaseDesc Keytool import command sl@0: //! (keytool_import_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool import key twice sl@0: //! @SYMTestExpectedResults Keytool should display the error message as already exists sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0053 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_importfail1.txt c:\output.txt sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_importfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_import_fail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0053 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0054 sl@0: //! @SYMTestCaseDesc Keytool import command sl@0: //! (keytool_import_fail1) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool import key where keystore doesn't exist sl@0: //! @SYMTestExpectedResults Keytool should display the error message as store not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0054 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_importfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_import_fail1 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0054 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0055 sl@0: //! @SYMTestCaseDesc Keytool import command sl@0: //! (keytool_import_fail2) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool import key where key doesn't exist sl@0: //! @SYMTestExpectedResults Keytool should display the error message as key not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0055 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_importfail3.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_import_fail2 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0055 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0056 sl@0: //! @SYMTestCaseDesc Keytool import command sl@0: //! (keytool_import_fail3) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool import a corrupted key sl@0: //! @SYMTestExpectedResults Keytool should display the error message as corrupted key sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0056 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_importfail4.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_import_fail3 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0056 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0057 sl@0: //! @SYMTestCaseDesc Keytool import command sl@0: //! (keytool_import_fail4) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool import empty key sl@0: //! @SYMTestExpectedResults Keytool should display the error message as key is empty sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0057 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_importfail5.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_import_fail4 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0057 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0058 sl@0: //! @SYMTestCaseDesc Keytool setuser command sl@0: //! (keytool_setuser_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool setuser for key where key is not exist sl@0: //! @SYMTestExpectedResults Keytool should display the error message as key is not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0058 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_setuserfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_setuser_fail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0058 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0059 sl@0: //! @SYMTestCaseDesc Keytool setuser command sl@0: //! (keytool_setuser_fail1) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool setuser for key where key is created by third party sl@0: //! @SYMTestExpectedResults Keytool should display the error message as setusers failed with -46 sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0059 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_setuserfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_setuser_fail1 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0059 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0060 sl@0: //! @SYMTestCaseDesc Keytool setalluser command sl@0: //! (keytool_setallusers_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool setalluser for key where key is not exist sl@0: //! @SYMTestExpectedResults Keytool should display the error message as key is not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0060 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_setalluserfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_setallusers_fail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0060 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0061 sl@0: //! @SYMTestCaseDesc Keytool setuser command sl@0: //! (keytool_setallusers_fail1) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool setuser for key where key is created by third party sl@0: //! @SYMTestExpectedResults Keytool should display the error message as setusers failed with -46 sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0061 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_setalluserfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_setallusers_fail1 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0061 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0062 sl@0: //! @SYMTestCaseDesc Keytool setmanager command sl@0: //! (keytool_setmanager_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool setmanager for key where key is not exist sl@0: //! @SYMTestExpectedResults Keytool should display the error message as key is not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0062 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_setmanagerfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_setmanager_fail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0062 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0063 sl@0: //! @SYMTestCaseDesc Keytool setmanager command sl@0: //! (keytool_setmanager_fail1) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool setmanager for key where key is created by third party sl@0: //! @SYMTestExpectedResults Keytool should display the error message as key as setmanager failed with -46 sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0063 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_setmanagerfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_setmanager_fail1 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0063 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0064 sl@0: //! @SYMTestCaseDesc Keytool remove user command sl@0: //! (keytool_removeuser_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool remove user for key where key is not exist sl@0: //! @SYMTestExpectedResults Keytool should display the error message as key is not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0064 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_removeuserfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_removeuser_fail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0064 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0065 sl@0: //! @SYMTestCaseDesc Keytool remove user command sl@0: //! (keytool_removeuser_fail1) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool removeuser for key where key is created by third party sl@0: //! @SYMTestExpectedResults Keytool should display the error message as key is removeusers failed with -46 sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0065 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_removeuserfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_removeuser_fail1 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0065 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0066 sl@0: //! @SYMTestCaseDesc Keytool list command sl@0: //! (keytool_list_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool list for the key where keystore is not exist sl@0: //! @SYMTestExpectedResults Keytool should display the error message as key is store not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0066 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_listfail1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_list_fail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0066 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0067 sl@0: //! @SYMTestCaseDesc Keytool list command sl@0: //! (keytool_list_fail1) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool list for key where key is not exist sl@0: //! @SYMTestExpectedResults Keytool should display the error message as key is not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0067 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_listfail2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_list_fail1 sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0067 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0068 sl@0: //! @SYMTestCaseDesc Keytool remove command sl@0: //! (keytool_remove_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool remove for key where key is not exist sl@0: //! @SYMTestExpectedResults Keytool should display the error message as key is not exist sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0068 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_removefail.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_remove_fail sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0068 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-EC097-0069 sl@0: //! @SYMTestCaseDesc Keytool command sl@0: //! (keytool_fail) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Keytool command in unspeicifed order sl@0: //! @SYMTestExpectedResults Keytool should display the help message sl@0: //! @SYMDevelopedForRelease Sphinx sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-EC097-0069 sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\keyfail.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini keytool_help sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_remove3.txt c:\output.txt sl@0: RUN_PROGRAM keytool.exe c:\ttesttools\data\key_remove1.txt c:\output.txt sl@0: END_TESTCASE SEC-FILETOKENS-EC097-0069 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-Defect118391-0070 sl@0: //! @SYMTestCaseDesc Certool import command sl@0: //! (certtool_import_def118391) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool import command without a label specified sl@0: //! @SYMTestExpectedResults Certtool should not display any error message and work fine. sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-Defect118391-0070 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_import.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import sl@0: RUN_TEST_STEP 100 ttesttools ListKeyStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_import sl@0: END_TESTCASE SEC-FILETOKENS-Defect118391-0070 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-Defect118391-0071 sl@0: //! @SYMTestCaseDesc Certool setapps command sl@0: //! (certtool_setapps_defect118391) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool setapps command with a label option specified sl@0: //! @SYMTestExpectedResults Certtool should not display any error message and work fine. sl@0: sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-Defect118391-0071 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_setapps1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools GetTrustAppsStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_setapps1 sl@0: END_TESTCASE SEC-FILETOKENS-Defect118391-0071 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-Defect118391-0072 sl@0: //! @SYMTestCaseDesc Certool setapps command sl@0: //! (certtool_trust) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certool to set the application trust status for the certificate sl@0: //! @SYMTestExpectedResults Query certstore via CUnifiedCertstore for the certificats trust status sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-Defect118391-0072 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_setapps.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools GetTrustStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_setapps2 sl@0: END_TESTCASE SEC-FILETOKENS-Defect118391-0072 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-QI-0073 sl@0: //! @SYMTestCaseDesc Certool addapps command sl@0: //! (certtool_addapps_QI) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions First remove the cert, then import the certificate then call Certool to set the application trust status for the certificate sl@0: //! @SYMTestExpectedResults Query certstore via CUnifiedCertstore for the certificats app status. sl@0: sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-QI-0073 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_addapps1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools GetTrustAppsStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_addapps1 sl@0: END_TESTCASE SEC-FILETOKENS-QI-0073 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-QI-0074 sl@0: //! @SYMTestCaseDesc Certool addapps command sl@0: //! (certtool_trust) sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call gettrust status to check the trust status for the certificate sl@0: //! @SYMTestExpectedResults Query certstore via CUnifiedCertstore for the certificats trust status sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-QI-0074 sl@0: RUN_TEST_STEP 100 ttesttools GetTrustStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_addapps2 sl@0: END_TESTCASE SEC-FILETOKENS-QI-0074 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-IMPROVEMENT-0001 sl@0: //! @SYMTestCaseDesc Certtool import command sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certtool to import a certificate with the deletable flag set to 'y'. sl@0: //! @SYMTestExpectedResults Call certstore list via CUnifiedCertstore, the certificate is listed. sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-IMPROVEMENT-0001 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_importdeletable1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_importdeletable1 sl@0: sl@0: END_TESTCASE SEC-FILETOKENS-IMPROVEMENT-0001 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-IMPROVEMENT-0002 sl@0: //! @SYMTestCaseDesc Certtool import command sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certtool to import a certificate with the deletable flag set to 'n'. sl@0: //! @SYMTestExpectedResults Call certstore list via CUnifiedCertstore, the certificate is listed. sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-IMPROVEMENT-0002 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_importdeletable2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ListCertStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_importdeletable2 sl@0: END_TESTCASE SEC-FILETOKENS-IMPROVEMENT-0002 sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-IMPROVEMENT-0003 sl@0: //! @SYMTestCaseDesc Certtool import command sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions call Certtool to import a certificate with the deletable flag set to a garbage value. sl@0: //! @SYMTestExpectedResults The expected output is "An error occured during certificate import." sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-IMPROVEMENT-0003 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_importdeletable3.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_importdeletable3 sl@0: END_TESTCASE SEC-FILETOKENS-IMPROVEMENT-0003 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-IMPROVEMENT-0004 sl@0: //! @SYMTestCaseDesc Certtool remove command sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions Call certtool to remove the certificate imported with deletable set to 'y' sl@0: //! @SYMTestExpectedResults The expected output is "Certificate removed successfully." sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-IMPROVEMENT-0004 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_removedeletable1.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_removedeletable1 sl@0: END_TESTCASE SEC-FILETOKENS-IMPROVEMENT-0004 sl@0: sl@0: sl@0: //! @SYMTestCaseID SEC-FILETOKENS-IMPROVEMENT-0005 sl@0: //! @SYMTestCaseDesc Certtool remove command sl@0: //! @SYMTestPriority Medium sl@0: //! @SYMTestActions Call certtool to remove the certificate imported with deletable set to 'n' sl@0: //! @SYMTestExpectedResults The expected output is "Certificate removed successfully." sl@0: sl@0: START_TESTCASE SEC-FILETOKENS-IMPROVEMENT-0005 sl@0: RUN_PROGRAM certtool.exe c:\ttesttools\data\cert_removedeletable2.txt c:\output.txt sl@0: RUN_TEST_STEP 100 ttesttools ParseFileStep c:\ttesttools\scripts\sec-filetokens-tools.ini certtool_removedeletable2 sl@0: END_TESTCASE SEC-FILETOKENS-IMPROVEMENT-0005 sl@0: sl@0: