version 1.7.2.1, 2003/08/13 19:39:49
|
version 1.12, 2004/04/02 21:20:06
|
|
|
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) |
MKDIR = $(MUEXE) mkdirhier |
MKDIR = src/utils/mu/mu mkdirhier |
|
TESTS = prestarttests poststarttests | TESTS = prestarttests poststarttests |
endif | endif |
| |
|
|
CIMSERVER_STOP_SERVICE = cimserver -s; true | CIMSERVER_STOP_SERVICE = cimserver -s; true |
SLEEP = sleep 5 | SLEEP = sleep 5 |
MUEXE = mu | MUEXE = mu |
COPYMU = cp -f src/utils/mu/$(MUEXE) $(BIN_DIR)/$(MUEXE) |
MKDIR = $(MUEXE) mkdirhier |
MKDIR = src/utils/mu/mu mkdirhier |
|
TESTS = prestarttests poststarttests | TESTS = prestarttests poststarttests |
endif | endif |
| |
ifdef PEGASUS_PLATFORM_LINUX_GENERIC_GNU | ifdef PEGASUS_PLATFORM_LINUX_GENERIC_GNU |
CIMSERVER_START_SERVICE = cimserver | CIMSERVER_START_SERVICE = cimserver |
CIMSERVER_STOP_SERVICE = ps -ef | grep cimserver | grep -v grep | awk '{print "kill -9 "$$2 |"/bin/bash"}' |
CIMSERVER_STOP_SERVICE = cimserver -s; true |
SLEEP = sleep 5 | SLEEP = sleep 5 |
MUEXE = mu | MUEXE = mu |
COPYMU = cp -f src/utils/mu/$(MUEXE) $(BIN_DIR)/$(MUEXE) |
MKDIR = $(MUEXE) mkdirhier |
MKDIR = src/utils/mu/mu mkdirhier |
|
TESTS = prestarttests poststarttests | TESTS = prestarttests poststarttests |
endif | endif |
| |
|
|
buildmu: | buildmu: |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile | $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile |
$(MKDIR) $(BIN_DIR) | $(MKDIR) $(BIN_DIR) |
$(COPYMU) |
|
| |
rebuild: clean buildmu all | rebuild: clean buildmu all |
| |
|
|
| |
EnableAuthorization: | EnableAuthorization: |
$(MAKE) -f TestMakefile -i stopcim | $(MAKE) -f TestMakefile -i stopcim |
cimconfig -s enableAuthorization=true -p |
cimconfig -s enableNamespaceAuthorization=true -p |
$(MAKE) -f TestMakefile startcimWithoutSSL | $(MAKE) -f TestMakefile startcimWithoutSSL |
$(MAKE) -f TestMakefile -i ConfigureAuthorizations | $(MAKE) -f TestMakefile -i ConfigureAuthorizations |
| |
|
|
ConfigureAuthorizations: | ConfigureAuthorizations: |
cimauth -a -u guest -n test/cimv2 -R -W | cimauth -a -u guest -n test/cimv2 -R -W |
cimauth -a -u guest -n root/cimv2 -R -W | cimauth -a -u guest -n root/cimv2 -R -W |
|
cimauth -a -u guest -n root/PG_Internal -R -W |
|
cimauth -a -u guest -n root/PG_InterOp -R -W |
|
cimauth -a -u guest -n root/benchmark -R -W |
|
cimauth -a -u guest -n root/sampleprovider -R -W |
cimauth -a -u guest -n test/static -R -W | cimauth -a -u guest -n test/static -R -W |
cimauth -a -u guest -n root/SampleProvider -R -W | cimauth -a -u guest -n root/SampleProvider -R -W |
cimauth -a -u guest -n root -R -W | cimauth -a -u guest -n root -R -W |
|
|
sleep 10 | sleep 10 |
| |
startcimWithSSL: | startcimWithSSL: |
cimserver SSL=true |
cimserver enableHttpConnection=false enableHttpsConnection=true |
sleep 10 | sleep 10 |
| |
stopcim: | stopcim: |