version 1.104, 2010/09/07 03:54:36
|
version 1.117, 2014/11/03 16:40:06
|
|
|
$(USAGE)"slptests - Executes the slptests" | $(USAGE)"slptests - Executes the slptests" |
$(USAGE)"run_Cmpi_Sub - Executes the CMPI subscription tests" | $(USAGE)"run_Cmpi_Sub - Executes the CMPI subscription tests" |
$(USAGE) | $(USAGE) |
|
$(USAGE)"The following requires wseventsink to be installed on the server and is not run" |
|
$(USAGE)"as part of Primary target tests suites." |
|
$(USAGE)"run_WSMAN_TS - Executes the WSMAN indication deliver test" |
| |
| |
########################################################## | ########################################################## |
|
|
| |
serversuite: FORCE | serversuite: FORCE |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Server/tests -f Makefile commandtests | $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Server/tests -f Makefile commandtests |
|
ifeq ($(PEGASUS_ENABLE_SLP),true) |
|
$(MAKE) --directory=$(PEGASUS_ROOT)/src/slp/tests/srv_reg/ -f Makefile tests |
|
endif |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstart | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstart |
$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests | $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinRepository | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinRepository |
|
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SDK_TS1 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SDK_TS1 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_ExportClientSSL_TS1 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_ExportClientSSL_TS1 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_Cimserver_Availability | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_Cimserver_Availability |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_sslCipherSuiteTests |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_TLSv1_2_tests |
ifeq ($(PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER),true) | ifeq ($(PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER),true) |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_Cmpi_Sub | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_Cmpi_Sub |
endif | endif |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimprovagt32tests |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile chgdhoststests |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout1 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout1 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout2 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout2 |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_providerLifecycleIndicationTests |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimListenAddress |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_interfaceRestrictionTest |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_providerReregisterTests |
| |
##################### | ##################### |
# | # |
|
|
| |
| |
############################################################################### | ############################################################################### |
|
## WSMAN Indication test suite : WSMAN Indication Testing over HTTPS |
|
## |
|
## Configuration Options: (none for cimserver) |
|
## wsevensink should be installed as the wsman listner. |
|
## |
|
## There is no WSMAN listner in OP as of now. Therefore, wseventsink of |
|
## openwsman is used. This is available only on Linux. On other OSes, the |
|
## destination of the subcription/indication should be changed to a Linux |
|
## system where wseventsink is running. |
|
## Once we have a wsman listner in OP we include this test in Nigthly tests. |
|
## As of now, this has to be run explicitly. |
|
## |
|
############################################################################### |
|
ifeq ($(OS),linux) |
|
ifeq ($(PEGASUS_ENABLE_PROTOCOL_WSMAN),true) |
|
INDWSMAN_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=false |
|
INDWSMAN_TS1a_TEST_CMDS = \ |
|
$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationTestProvider/wsmanTestClient@@-f@@Makefile@@runWSMANtests |
|
|
|
run_WSMAN_TS: FORCE |
|
$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ |
|
CIMSERVER_CONFIG_OPTIONS="$(INDWSMAN_CONFIG_OPTIONS)" \ |
|
TESTSUITE_CMDS="$(INDWSMAN_TS1a_TEST_CMDS)" |
|
endif |
|
endif |
|
|
|
############################################################################### |
| |
############################################################################### | ############################################################################### |
## SSL IPv4 Test Suite : Tests SSL connections for IPv4 | ## SSL IPv4 Test Suite : Tests SSL connections for IPv4 |
|
|
$(ECHO) "PEGASUS_HAS_SSL not defined - Not Creating SSL certificate for test" | $(ECHO) "PEGASUS_HAS_SSL not defined - Not Creating SSL certificate for test" |
endif | endif |
| |
|
############################################################################ |
|
## |
|
## run_sslCipherSuiteTests |
|
## |
|
## Configuration Options: enableHttpsConnection=true |
|
## sslCipherSuite=HIGH |
|
## |
|
############################################################################ |
|
|
|
SSL_CIPHER_SUITE_TEST_CONFIG_OPTIONS= enableHttpsConnection=true sslCipherSuite=HIGH |
|
SSL_CIPHER_SUITE_TEST_CMDS= \ |
|
$(MAKE)@@--directory \ |
|
$(PEGASUS_ROOT)/src/Pegasus/Client/tests/SSLCipherVerification/ \ |
|
-f@@Makefile@@sslCipherSuiteTests |
|
|
|
ifdef PEGASUS_HAS_SSL |
|
run_sslCipherSuiteTests: |
|
@$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ |
|
CIMSERVER_CONFIG_OPTIONS="$(SSL_CIPHER_SUITE_TEST_CONFIG_OPTIONS)" \ |
|
TESTSUITE_CMDS="$(SSL_CIPHER_SUITE_TEST_CMDS)" |
|
else |
|
run_sslCipherSuiteTests: FORCE |
|
@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_sslCipherSuiteTests" |
|
endif |
|
|
|
|
############################################################################### | ############################################################################### |
## G11N Test Suite 1: Globalization Tests | ## G11N Test Suite 1: Globalization Tests |
## | ## |
|
|
############################################################################### | ############################################################################### |
| |
| |
|
############################################################################### |
|
## TLS v 1.2 support test as per NIST 800-131a |
|
## |
|
## Configuration Options: enableHttpsConnection=true sslCipherSuite = TLSv1.2 |
|
## |
|
############################################################################### |
|
TLS_1_2_SUPPORT_CONFIG = enableHttpsConnection=true sslCipherSuite=TLSv1.2 |
|
TLSv1_2_support_tests = \ |
|
$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/Server/tests/TLSv_1_2_Support@@-f@@Makefile@@test_TLSv1_2 |
|
|
|
ifdef PEGASUS_HAS_SSL |
|
run_TLSv1_2_tests: |
|
$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ |
|
CIMSERVER_CONFIG_OPTIONS="$(TLS_1_2_SUPPORT_CONFIG)" \ |
|
TESTSUITE_CMDS="$(TLSv1_2_support_tests)" |
|
else |
|
run_TLSv1_2_tests: FORCE |
|
@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping TLSv 1.2 support tests" |
|
endif |
|
|
|
############################################################################### |
|
|
| |
############################################################################### | ############################################################################### |
## idleConnectionTimeout Test Suite 1: uses ChunkingStressProvider Tests | ## idleConnectionTimeout Test Suite 1: uses ChunkingStressProvider Tests |
|
|
############################################################################## | ############################################################################## |
| |
| |
|
############################################################################# |
|
## |
|
## 32-bit provider tests on 64-bit CIMServer |
|
## |
|
############################################################################# |
|
|
|
TEST_32BIT_CONFIG_OPTIONS = providerDir=lib32:lib |
|
TEST_32BIT_CMDS = \ |
|
$(MAKE)@@--directory \ |
|
$(PEGASUS_ROOT)/src/Providers/TestProviders -f@@Makefile.cimprovagt32tests@@cimprovagt32tests |
|
cimprovagt32tests: FORCE |
|
ifdef PEGASUS_PLATFORM_FOR_32BIT_PROVIDER_SUPPORT |
|
$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ |
|
CIMSERVER_CONFIG_OPTIONS="$(TEST_32BIT_CONFIG_OPTIONS)" \ |
|
TESTSUITE_CMDS="$(TEST_32BIT_CMDS)" |
|
else |
|
@$(ECHO) "PEGASUS_PLATFORM_FOR_32BIT_PROVIDER_SUPPORT not defined, skipping 32-bit tests..." |
|
endif |
|
|
|
############################################################################# |
|
## |
|
## CIMServer with overridden hostnames testing |
|
## |
|
############################################################################# |
|
|
|
TEST_CHGD_HOSTS_OPTIONS = "hostname=hugo fullyQualifiedHostName=hugo.bert" |
|
TEST_CHGD_HOSTS_CMDS = \ |
|
$(MAKE)@@--directory \ |
|
$(PEGASUS_ROOT)/src/Pegasus/Config/tests/ChgdHosts@@chgdhoststest |
|
chgdhoststests: FORCE |
|
$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ |
|
CIMSERVER_CONFIG_OPTIONS=$(TEST_CHGD_HOSTS_OPTIONS) \ |
|
TESTSUITE_CMDS="$(TEST_CHGD_HOSTS_CMDS)" |
|
|
|
|
|
############################################################################# |
|
## |
|
## provider lifecycle indications tests |
|
## |
|
############################################################################# |
|
run_providerLifecycleIndicationTests: FORCE |
|
$(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/TestProviderLifecycleIndications/testclient -f Makefile setupLogFile |
|
-$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="forceProviderProcesses=true maxFailedProviderModuleRestarts=1" |
|
$(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/TestProviderLifecycleIndications/testclient -f Makefile createPLISubscription |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="forceProviderProcesses=true maxFailedProviderModuleRestarts=1" |
|
$(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/TestProviderLifecycleIndications/testclient -f Makefile testPLI |
|
$(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/TestProviderLifecycleIndications/testclient -f Makefile deletePLISubscription |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop |
|
$(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/TestProviderLifecycleIndications/testclient -f Makefile testLogFile |
|
|
|
|
|
############################################################################# |
|
# |
|
# Provider reregistration tests. |
|
# |
|
############################################################################## |
|
run_providerReregisterTests:FORCE |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart |
|
$(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient -f Makefile createSubscriptions |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart |
|
$(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient -f Makefile reregister_providerTests |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop |
|
|
|
|
|
############################################################################# |
|
## |
|
## Network Interface restriction tests |
|
## |
|
## Configuration Options: enableHttpsConnection=true |
|
## enableHttpConnection=true |
|
## listenAddress=x.y.x.z |
|
## |
|
############################################################################# |
|
startcimListenAddress: FORCE |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=true enableHttpsConnection=true listenAddress=::1,127.0.0.1" |
|
$(SLEEP) 5 |
|
|
|
|
|
|
|
#Hardcoding the addess 127.0.0.1, |
|
RESTRICT_INTRFC_TEST_CONFIG_OPTIONS= enableHttpConnection=true enableHttpsConnection=true listenAddress=127.0.0.1 |
|
RESTRICT_INTRFC_TEST_CMDS=$(MAKE)@@--directory $(PEGASUS_ROOT)/src/Pegasus/Server/tests/InterfaceRestriction@@-f@@Makefile@@RestrictionTest |
|
|
|
run_interfaceRestrictionTest:FORCE |
|
$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \ |
|
CIMSERVER_CONFIG_OPTIONS="$(RESTRICT_INTRFC_TEST_CONFIG_OPTIONS)" \ |
|
TESTSUITE_CMDS="$(RESTRICT_INTRFC_TEST_CMDS)" |
|
|
|
|
############################################################################## | ############################################################################## |
## | ## |
## TestXMLRepository rule is used to run the poststarttests suite on | ## TestXMLRepository rule is used to run the poststarttests suite on |
|
|
@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend | @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend |
@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository | @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository |
| |
|
|
############################################################################### | ############################################################################### |
## | ## |
## Trace Configuration | ## Trace Configuration |
|
|
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/cimv2 -R -W | cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/cimv2 -R -W |
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/cimv2 -R -W | cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/cimv2 -R -W |
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_Internal -R -W | cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_Internal -R -W |
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_InterOp -R -W |
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n $(PEGASUS_INTEROP_NAMESPACE) -R -W |
cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/benchmark -R -W | cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/benchmark -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 test/static -R -W | cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/static -R -W |