version 1.62.2.4, 2007/12/14 20:56:53
|
version 1.68, 2006/06/02 20:47:17
|
|
|
$(USAGE) | $(USAGE) |
$(USAGE)"usage2 - usage on secondary test targets" | $(USAGE)"usage2 - usage on secondary test targets" |
$(USAGE)"usagetrace - usage on trace targets" | $(USAGE)"usagetrace - usage on trace targets" |
|
$(USAGE)"stresstests - Execute the default stress test suite" |
$(USAGE) | $(USAGE) |
| |
usage2: FORCE | usage2: FORCE |
|
|
$(USAGE) | $(USAGE) |
$(USAGE)"serversuite - the collection of test run by the servertests rule" | $(USAGE)"serversuite - the collection of test run by the servertests rule" |
$(USAGE)"serverquicksuite - The collection of test run by the serverquicktests rule" | $(USAGE)"serverquicksuite - The collection of test run by the serverquicktests rule" |
|
$(USAGE)"run_STRESS_TS1 - Executes the stresstests" |
$(USAGE) | $(USAGE) |
| |
| |
|
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_IndInit_TS1 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_IndInit_TS1 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS1 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS1 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS2 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS2 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS3 |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_INDSSL_TS1 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_INDSSL_TS1 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SSL_TS1 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SSL_TS1 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_G11N_TS1 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_G11N_TS1 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout1 |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout2 |
##################### |
|
# |
|
# stresstests |
|
# |
|
stresstests: |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_STRESS_TS1 |
| |
#################### | #################### |
# | # |
|
|
endif | endif |
| |
############################################################################### | ############################################################################### |
## OOPProvFail Test Suite 3: OOP Provider Module Failure CIM Server restart |
|
## Tests |
|
## |
|
## Configuration Options: forceProviderProcesses=true |
|
## enableAuthentication=true |
|
## |
|
## NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test |
|
## suite is always run with OOP enabled. This test suite causes a provider to |
|
## exit. Running this test suite with OOP disabled would cause the cimserver |
|
## to exit and the test suite to fail. |
|
## |
|
############################################################################### |
|
OOPProvFail_TS3_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true |
|
OOPProvFail_TS3a_TEST_CMDS = \ |
|
$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS3a |
|
OOPProvFail_TS3b_TEST_CMDS = \ |
|
$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS3b |
|
|
|
ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS |
|
run_OOPProvFail_TS3: |
|
$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ |
|
CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS3_CONFIG_OPTIONS)" \ |
|
TESTSUITE_CMDS="$(OOPProvFail_TS3a_TEST_CMDS)" |
|
$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ |
|
CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS3_CONFIG_OPTIONS)" \ |
|
TESTSUITE_CMDS="$(OOPProvFail_TS3b_TEST_CMDS)" |
|
else |
|
run_OOPProvFail_TS3: FORCE |
|
@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS3" |
|
endif |
|
|
|
############################################################################### |
|
## Indication SSL Test Suite 1: Indication Testing over HTTPS | ## Indication SSL Test Suite 1: Indication Testing over HTTPS |
## | ## |
## Configuration Options: (none) | ## Configuration Options: (none) |
|
|
$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ | $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ |
CIMSERVER_CONFIG_OPTIONS="$(G11N_TS1_CONFIG_OPTIONS)" \ | CIMSERVER_CONFIG_OPTIONS="$(G11N_TS1_CONFIG_OPTIONS)" \ |
TESTSUITE_CMDS="$(G11N_TS1_TEST_CMDS)" | TESTSUITE_CMDS="$(G11N_TS1_TEST_CMDS)" |
############################################################################### |
|
|
|
| |
############################################################################### | ############################################################################### |
## idleConnectionTimeout Test Suite 1: uses ChunkingStressProvider Tests |
## Stress Test Suite 1: Default Stress Tests |
## | ## |
## Configuration Options: idleConnectionTime=55 |
## Configuration Options: (none) |
## | ## |
############################################################################### | ############################################################################### |
IDLE_CONNECTION_TIMEOUT_1_CONFIG_OPTIONS = idleConnectionTimeout=55 |
STRESS_TS1_CONFIG_OPTIONS = |
IDLE_CONNECTION_TIMEOUT_1_TEST_CMDS = \ |
STRESS_TS1_TEST_CMDS = \ |
$(MAKE)@@--directory \ |
TestStressTestController |
$(PEGASUS_ROOT)/src/Providers/TestProviders/ChunkingStressProvider/testclient \ |
|
-f@@Makefile@@poststarttests |
|
run_idleConnectionTimeout1: FORCE |
|
$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ |
|
CIMSERVER_CONFIG_OPTIONS="$(IDLE_CONNECTION_TIMEOUT_1_CONFIG_OPTIONS)" \ |
|
TESTSUITE_CMDS="$(IDLE_CONNECTION_TIMEOUT_1_TEST_CMDS)" |
|
############################################################################### |
|
| |
|
run_STRESS_TS1: |
############################################################################### |
|
## idleConnectionTimeout Test Suite 2: uses IdleConnectionTimeout client test |
|
## |
|
## Configuration Options: idleConnectionTime=6 |
|
## |
|
############################################################################### |
|
IDLE_CONNECTION_TIMEOUT_2_CONFIG_OPTIONS = idleConnectionTimeout=6 |
|
IDLE_CONNECTION_TIMEOUT_2_TEST_CMDS = \ |
|
$(MAKE)@@--directory \ |
|
$(PEGASUS_ROOT)/src/Pegasus/Client/tests/IdleConnectionTimeout/ \ |
|
-f@@Makefile@@timeoutTest@@IDLETIME=10 |
|
run_idleConnectionTimeout2: FORCE |
|
$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ | $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ |
CIMSERVER_CONFIG_OPTIONS="$(IDLE_CONNECTION_TIMEOUT_2_CONFIG_OPTIONS)" \ |
CIMSERVER_CONFIG_OPTIONS="$(STRESS_TS1_CONFIG_OPTIONS)" \ |
TESTSUITE_CMDS="$(IDLE_CONNECTION_TIMEOUT_2_TEST_CMDS)" |
TESTSUITE_CMDS="$(STRESS_TS1_TEST_CMDS)" |
############################################################################### | ############################################################################### |
| |
| |
|
|
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/static -R -W | cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/static -R -W |
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/SampleProvider -R -W | cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/SampleProvider -R -W |
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root -R -W | cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root -R -W |
|
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/test/A -R -W |
|
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/test/B -R -W |
|
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/TestProvider -R -W |
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1 -R -W | cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1 -R -W |
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test2 -R -W | cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test2 -R -W |
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test3 -R -W | cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test3 -R -W |
|
|
startcimWithSSL: FORCE | startcimWithSSL: FORCE |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=false enableHttpsConnection=true" | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=false enableHttpsConnection=true" |
$(SLEEP) 5 | $(SLEEP) 5 |
|
|