version 1.2, 2002/09/01 18:18:23
|
version 1.5, 2003/05/28 20:47:28
|
|
|
############################################################################### | ############################################################################### |
| |
ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) | ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) |
CIMSERVER_START_SERVICE = start cimserver |
CIMSERVER_START_SERVICE = cimserver -start |
CIMSERVER_STOP_SERVICE = |
CIMSERVER_STOP_SERVICE = cimserver -stop |
SLEEP = | SLEEP = |
REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus | REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus |
MUEXE = mu.exe | MUEXE = mu.exe |
COPYMU = copy src\utils\mu\$(MUEXE) /y $(MUEXE) | COPYMU = copy src\utils\mu\$(MUEXE) /y $(MUEXE) |
MKDIR = src/utils/mu/mu mkdirhier | MKDIR = src/utils/mu/mu mkdirhier |
TESTS = prestarttests |
TESTS = prestarttests poststarttests |
endif | endif |
| |
ifeq ($(OS),HPUX) | ifeq ($(OS),HPUX) |
|
|
$(MAKE) -f Makefile poststarttests | $(MAKE) -f Makefile poststarttests |
| |
tests: $(TESTS) | tests: $(TESTS) |
|
ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) |
|
$(CIMSERVER_STOP_SERVICE) |
|
$(MAKE) --directory=src/Server -f Makefile uninstall |
|
endif |
@ echo Finished Tests | @ echo Finished Tests |
| |
############################################################################### | ############################################################################### |
|
|
$(MAKE) -f TestMakefile TestNoSecurity | $(MAKE) -f TestMakefile TestNoSecurity |
$(MAKE) -f TestMakefile EnableAuthentication | $(MAKE) -f TestMakefile EnableAuthentication |
$(MAKE) -f TestMakefile TestLocalSecurity | $(MAKE) -f TestMakefile TestLocalSecurity |
|
$(MAKE) -f TestMakefile TestRemoteSecurity |
|
$(MAKE) -f TestMakefile EnableAuthorization |
|
$(MAKE) -f TestMakefile TestAuthorization |
| |
TestNoSecurity: | TestNoSecurity: |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests |
|
|
$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true | $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true |
| |
TestAuthorization: | TestAuthorization: |
$(MAKE) -f TestMakefile EnableAuthorization |
DeleteNamespace -a -user guest -password guest |
DeleteNamespace -a |
|
$(MAKE) -f TestMakefile RunTestClientLocal | $(MAKE) -f TestMakefile RunTestClientLocal |
|
TestClient -user guest -password guest $(system):5988 |
|
$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true |
| |
TestSubscriptions: | TestSubscriptions: |
$(MAKE) -f TestMakefile DisableSecurity | $(MAKE) -f TestMakefile DisableSecurity |