Return to clitests CVS log | Up to [Pegasus] / pegasus / test / TestProviders / CIMOMSample |
File: [Pegasus] / pegasus / test / TestProviders / CIMOMSample / clitests
(download)
Revision: 1.2, Tue Dec 16 18:58:15 2008 UTC (15 years, 6 months ago) by kumpf Branch: MAIN CVS Tags: preBug9676, postBug9676, TASK_PEP317_1JUNE_2013, TASK-TASK_PEP362_RestfulService_branch-root, TASK-TASK_PEP362_RestfulService_branch-merged_out_from_trunk, TASK-TASK_PEP362_RestfulService_branch-merged_in_to_trunk, TASK-TASK_PEP362_RestfulService_branch-merged_in_from_branch, TASK-TASK_PEP362_RestfulService_branch-branch, TASK-PEP362_RestfulService-root, TASK-PEP362_RestfulService-merged_out_to_branch, TASK-PEP362_RestfulService-merged_out_from_trunk, TASK-PEP362_RestfulService-merged_in_to_trunk, TASK-PEP362_RestfulService-merged_in_from_branch, TASK-PEP362_RestfulService-branch, TASK-PEP348_SCMO-root, TASK-PEP348_SCMO-merged_out_to_branch, TASK-PEP348_SCMO-merged_out_from_trunk, TASK-PEP348_SCMO-merged_in_to_trunk, TASK-PEP348_SCMO-merged_in_from_branch, TASK-PEP348_SCMO-branch, TASK-PEP317_pullop-root, TASK-PEP317_pullop-merged_out_to_branch, TASK-PEP317_pullop-merged_out_from_trunk, TASK-PEP317_pullop-merged_in_to_trunk, TASK-PEP317_pullop-merged_in_from_branch, TASK-PEP317_pullop-branch, RELEASE_2_9_2-RC2, RELEASE_2_9_2-RC1, RELEASE_2_9_2, RELEASE_2_9_1-RC1, RELEASE_2_9_1, RELEASE_2_9_0-RC1, RELEASE_2_9_0, RELEASE_2_9-root, RELEASE_2_9-branch, RELEASE_2_14_1, RELEASE_2_14_0-RC2, RELEASE_2_14_0-RC1, RELEASE_2_14_0, RELEASE_2_14-root, RELEASE_2_14-branch, RELEASE_2_13_0-RC2, RELEASE_2_13_0-RC1, RELEASE_2_13_0-FC, RELEASE_2_13_0, RELEASE_2_13-root, RELEASE_2_13-branch, RELEASE_2_12_1-RC1, RELEASE_2_12_1, RELEASE_2_12_0-RC1, RELEASE_2_12_0-FC, RELEASE_2_12_0, RELEASE_2_12-root, RELEASE_2_12-branch, RELEASE_2_11_2-RC1, RELEASE_2_11_2, RELEASE_2_11_1-RC1, RELEASE_2_11_1, RELEASE_2_11_0-RC1, RELEASE_2_11_0-FC, RELEASE_2_11_0, RELEASE_2_11-root, RELEASE_2_11-branch, RELEASE_2_10_1-RC1, RELEASE_2_10_1, RELEASE_2_10_0-RC2, RELEASE_2_10_0-RC1, RELEASE_2_10_0, RELEASE_2_10-root, RELEASE_2_10-branch, PREAUG25UPDATE, POSTAUG25UPDATE, HPUX_TEST, HEAD, CIMRS_WORK_20130824, BeforeUpdateToHeadOct82011 Changes since 1.1: +7 -7 lines BUG#: 8273 TITLE: Remove trailing space characters DESCRIPTION: Remove meaningless whitespace. |
#!/bin/bash # # The following set of commands tests the new Classes configured through the # sample provider interface. # # WITH AUTHENTICATION ENABLED # The following commands test the various authentication options through CLI # test client. The are 2 users added through "cimuser" and then both these # users are authenticated by giving them the "read" permission to our test # repository root/SampleProvider # # Important: Please change the <user> and <password> fields present in the # cim commands execution as per the settings on your system. The only thing to # care about is that the user provided on the command line with -u option # should be a valid user on the system where this test is running. # # WITHOUT AUTHENTICATION ENABLED # Simple Execution of CLI without any user/password authentication required # for any specific namespace. # AUTHENTICATION=$1; if [ $AUTHENTICATION ]; then { rm -f ei-auth.log #enumerateinstances echo "Executing enumerateinstances on CIMOMSample Class" CLI ei -n root/SampleProvider CIMOMSample 2>&1 | tee ei-auth.log CLI ei -n root/SampleProvider CIMOMSample -u guest -p nothing 2>&1 | tee -a ei-auth.log CLI ei -n root/SampleProvider CIMOMSample -u guest -p guest 2>&1 | tee -a ei-auth.log CLI ei -n root/SampleProvider CIMOMSample -u subodh -p soni 2>&1 | tee -a ei-auth.log rm -f ec-auth.log #enumerateclasses echo "Executing enumerateclasses on CIMOMSample Class" CLI ec -n root/SampleProvider CIMOMSample 2>&1 | tee ec-auth.log CLI ec -n root/SampleProvider CIMOMSample -u guest -p nothing 2>&1 | tee -a ec-auth.log CLI ec -n root/SampleProvider CIMOMSample -u guest -p guest 2>&1 | tee -a ec-auth.log CLI ec -n root/SampleProvider CIMOMSample -u subodh -p soni 2>&1 | tee -a ec-auth.log rm -f ni-auth.log #enumerateinstancenames echo "Executing enumerateinstancenames on CIMOMSample Class" CLI ni -n root/SampleProvider CIMOMSample 2>&1 | tee ni-auth.log CLI ni -n root/SampleProvider CIMOMSample -u guest -p nothing 2>&1 | tee -a ni-auth.log CLI ni -n root/SampleProvider CIMOMSample -u guest -p guest 2>&1 | tee -a ni-auth.log CLI ni -n root/SampleProvider CIMOMSample -u subodh -p soni 2>&1 | tee -a ni-auth.log rm -f nc-auth.log #enumerateclassnames echo "Executing ....... enumerateclassenames on CIMOMSample Class" echo ".." CLI nc -n root/SampleProvider CIMOMSample 2>&1 | tee nc-auth.log echo ".." CLI nc -n root/SampleProvider CIMOMSample -u guest -p nothing 2>&1 | tee -a nc-auth.log echo ".." CLI nc -n root/SampleProvider CIMOMSample -u guest -p guest 2>&1 | tee -a nc-auth.log echo ".." CLI nc -n root/SampleProvider CIMOMSample -u subodh -p sonc 2>&1 | tee -a nc-auth.log } else { rm -f ei.log #enumerateinstances echo "Executing enumerateinstances on CIMOMSample Class" CLI ei -n root/SampleProvider CIMOMSample 2>&1 | tee ei.log rm -f ec.log #enumerateclasses echo "Executing enumerateclasses on CIMOMSample Class" CLI ec -n root/SampleProvider CIMOMSample 2>&1 | tee ec.log rm -f ni.log #enumerateinstancenames echo "Executing enumerateinstancenames on CIMOMSample Class" CLI ni -n root/SampleProvider CIMOMSample 2>&1 | tee ni.log rm -f nc.log #enumerateclassnames echo "Executing ....... enumerateclassenames on CIMOMSample Class" echo ".." CLI nc -n root/SampleProvider CIMOMSample 2>&1 | tee nc.log echo ".." } fi
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |