version 1.63, 2006/02/18 17:16:52
|
version 1.65.2.1, 2006/04/18 04:17:11
|
|
|
ifdef PEGASUS_HAS_SSL | ifdef PEGASUS_HAS_SSL |
ifdef PEGASUS_TEST_USER_DEFINED | ifdef PEGASUS_TEST_USER_DEFINED |
$(ECHO) "Creating SSL certificate for test" | $(ECHO) "Creating SSL certificate for test" |
ssltrustmgr -a -c pegtest -f $(PEGASUS_HOME)/server.pem |
ssltrustmgr -a -c $(PEGASUS_TEST_USER_ID) -f $(PEGASUS_HOME)/server.pem |
endif | endif |
else | else |
$(ECHO) "PEGASUS_HAS_SSL not defined - Not Creating SSL certificate for test" | $(ECHO) "PEGASUS_HAS_SSL not defined - Not Creating SSL certificate for test" |
|
|
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 |
|
|
|
############################ |
|
# |
|
# Target for OpenPegasus Stress Tests (PEP#241) |
|
# |
|
# The stresstest target will run the stress tests |
|
|
|
stresstests: |
|
@$(ECHO) "Running PEGASUS StressTests" |
|
@$(MAKE) "-SC" test/StressTestController/tests stresstests |