1 martin 1.32 #//%2005////////////////////////////////////////////////////////////////////////
2 #//
3 #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
6 #// IBM Corp.; EMC Corporation, The Open Group.
7 #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
9 #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 #// EMC Corporation; VERITAS Software Corporation; The Open Group.
11 #//
12 #// Permission is hereby granted, free of charge, to any person obtaining a copy
13 #// of this software and associated documentation files (the "Software"), to
14 #// deal in the Software without restriction, including without limitation the
15 #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
16 #// sell copies of the Software, and to permit persons to whom the Software is
17 #// furnished to do so, subject to the following conditions:
18 #//
19 #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
20 #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
21 #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
22 martin 1.32 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
23 #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
24 #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
25 #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 #//
28 #//==============================================================================
|
29 kumpf 1.1 ###############################################################################
30 ##
31 ## Test Makefile for Pegasus CIMOM
32 ##
33 ## Options:
34 ## rebuild - Rebuild
|
35 david.dillard 1.15 ## build - Build
|
36 kumpf 1.1 ## prestarttests - Execute functional tests
37 ## poststarttests - Execute poststarttests (No security, No SSL)
38 ## tests - Execute prestarttests and poststarttests
39 ## standardtests - Execute poststartests and a series of
40 ## posstarttests using multiple options.
|
41 david.dillard 1.15 ##
|
42 kumpf 1.1 ###############################################################################
43
|
44 david.dillard 1.15 error:
45 @ $(ECHO) "Specify desired makefile option (i.e., build, rebuild)"
|
46 kumpf 1.1
|
47 kumpf 1.23 include $(PEGASUS_ROOT)/mak/config.mak
48 include $(PEGASUS_ROOT)/mak/test.mak
49 include $(PEGASUS_ROOT)/mak/commands.mak
50
51 system = localhost
52
53 TESTS = prestarttests poststarttests
54
|
55 kumpf 1.25 rebuild: clean all tests
|
56 kumpf 1.21
|
57 kumpf 1.25 build: all tests
|
58 kumpf 1.21
59 clean:
60 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile clean
61
|
62 kumpf 1.1 buildmu:
|
63 mday 1.6 $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile
|
64 kumpf 1.19 $(MKDIRHIER) $(BIN_DIR)
|
65 kumpf 1.1
66 all: buildmu
|
67 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile depend
68 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile all
|
69 kumpf 1.1
70 doc:
|
71 mday 1.6 $(MAKE) --directory=$(PEGASUS_ROOT)/doc/ProviderSpec -f Makefile
72 $(MAKE) --directory=$(PEGASUS_ROOT)/doc/DevManual -f Makefile
|
73 kumpf 1.1
|
74 david.dillard 1.15 repositoryServer:
|
75 kumpf 1.22 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
76 kumpf 1.19 $(SLEEP) 5
|
77 kumpf 1.1 $(RMDIRHIER) $(REPOSITORY_ROOT)
78 $(CIMSERVER_START_SERVICE)
|
79 kumpf 1.19 $(SLEEP) 5
|
80 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer
81 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer
|
82 mday 1.6
|
83 david.dillard 1.15 prestarttests:
|
84 kumpf 1.22 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
85 kumpf 1.19 $(SLEEP) 5
|
86 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
87 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
88 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile tests
|
89 kumpf 1.14 $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
|
90 nag.boranna 1.27 $(MAKE) --directory=$(PEGASUS_ROOT)/src/Clients/ssltrustmgr/tests -f Makefile test_setup
|
91 kumpf 1.1
|
92 jim.wunderlich 1.31 poststarttestsclean:
|
93 lucier 1.17 $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/CQL/tests/Queries -f Makefile clean
94 $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Query/QueryExpression/tests/Queries -f Makefile clean
|
95 mday 1.6 $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean
|
96 jim.wunderlich 1.31
97 poststarttests: poststarttestsclean
|
98 kumpf 1.1 $(CIMSERVER_START_SERVICE)
|
99 kumpf 1.19 $(SLEEP) 5
|
100 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests
|
101 jim.wunderlich 1.33 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinRepository
|
102 kumpf 1.20 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOP_TS1
|
103 carolann.graves 1.28 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_IndInit_TS1
|
104 kumpf 1.1
105 tests: $(TESTS)
|
106 tony 1.5 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
|
107 kumpf 1.22 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
108 mday 1.6 $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile uninstall
|
109 tony 1.5 endif
|
110 david.dillard 1.15 @ $(ECHO) Finished Tests
|
111 kumpf 1.1
112 ###############################################################################
|
113 denise.eckstein 1.18 ## Test Suite Definitions
114 ###############################################################################
115
116 ###############################################################################
117 ## OOP Test Suite 1: "Out-of-Process"(OOP) Provider Tests
118 ##
119 ## Configuration Options: forceProviderProcesses=true
120 ##
121 ###############################################################################
122 OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=true
123 OOP_TS1_TEST_CMDS = \
124 TestClient
125
126 run_OOP_TS1:
|
127 denise.eckstein 1.26 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
|
128 denise.eckstein 1.18 CIMSERVER_CONFIG_OPTIONS="$(OOP_TS1_CONFIG_OPTIONS)" \
129 TESTSUITE_CMDS="$(OOP_TS1_TEST_CMDS)"
130 ###############################################################################
131
132 ###############################################################################
|
133 carolann.graves 1.28 ## IndInit Test Suite 1: IndicationService Initialization Tests
134 ##
135 ## Configuration Options: (none)
136 ##
137 ###############################################################################
138 IndInit_TS1_CONFIG_OPTIONS =
139 IndInit_TS1a_TEST_CMDS = \
140 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1a
141 IndInit_TS1b_TEST_CMDS = \
142 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1b
143
144 run_IndInit_TS1:
145 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
146 CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
147 TESTSUITE_CMDS="$(IndInit_TS1a_TEST_CMDS)"
148 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
149 CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
150 TESTSUITE_CMDS="$(IndInit_TS1b_TEST_CMDS)"
151
152 ###############################################################################
|
153 nag.boranna 1.27 ## SSL Test Suite 1: SSL Tests
154 ##
155 ## Configuration Options: enableAuthentication=true
156 ## enableHttpsConnection=true
157 ## sslClientVerificationMode=optional
158 ## sslTrustStoreUserName=$(CURRENT_USER)
159 ##
160 ###############################################################################
161 SSL_TS1_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true \
162 sslClientVerificationMode=optional sslTrustStoreUserName=$(CURRENT_USER)
163 SSL_TS1_TEST_CMDS = \
164 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/ssltrustmgr/tests@@SSLCertificateTest1
165
166 run_SSL_TS1:
167 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
168 CIMSERVER_CONFIG_OPTIONS="$(SSL_TS1_CONFIG_OPTIONS)" \
169 TESTSUITE_CMDS="$(SSL_TS1_TEST_CMDS)"
170 ###############################################################################
171
|
172 jim.wunderlich 1.29 ##############################################################################
173 ##
|
174 jim.wunderlich 1.31 ## TestBinRepository rule is used to run the poststarttests suite on
|
175 jim.wunderlich 1.33 ## the Binary Repository built using cimmofl
|
176 jim.wunderlich 1.29 ##
|
177 jim.wunderlich 1.31 ## TestBinRepositoryServer rule is used to run the poststarttests suite on
|
178 jim.wunderlich 1.33 ## the Binary Repository built using cimmof
179 ##
180 ## TestBinCmpRepository rule is used to run the poststarttest suite on
181 ## the Binry Compressed Repository built using cimmofl
|
182 jim.wunderlich 1.29 ##
|
183 jim.wunderlich 1.31
184 ############################
|
185 jim.wunderlich 1.29 ##
|
186 jim.wunderlich 1.31 ## TestBinRepository
|
187 jim.wunderlich 1.29 ##
|
188 jim.wunderlich 1.33 ### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow
189 ### the nightly tests to run
190
191 ifeq ($(PEGASUS_PLATFORM),LINUX_IA64_GNU)
192 TestBinRepository:
193 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
194 @ $(ECHO) TestBinRepository +++++ NOT RUN on this platform - bug 3011
195 else
|
196 jim.wunderlich 1.31 TestBinRepository: TestBinClean TestBinBuildRepo TestBinRepo
|
197 jim.wunderlich 1.33 @ $(ECHO) TestBinRepository +++++ passed all test
198 endif
|
199 jim.wunderlich 1.29
|
200 jim.wunderlich 1.31 ############################
201 ##
202 ## TestBinRepositoryServer
203 ##
204 TestBinRepositoryServer: TestBinClean TestBinBuildRepoServ TestBinRepo
|
205 jim.wunderlich 1.33 @ $(ECHO) TestBinRepositoryServer +++++ passed all test
206
207 ############################
208 ##
209 ## TestBinCmpRepository - run poststarttest on Compressed BIN Repository
210 ##
211 ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
212 TestBinCmpRepository:
213 @ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
214 @ $(ECHO) TestBinCmpRepository +++++ passed all test
215 else
216
217 ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
218
219 TestBinCmpRepository: TestBinClean TestBinCmpBuild TestBinBuildRepo TestBinRepo TestBinRegBuild
220 @ $(ECHO) TestBinCmpRepository +++++ passed all test
221 else
222 TestBinCmpRepository:
223 @ $(ECHO) TestBinCmpRepository +++++ Not tested
224 @ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
225 @ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true
226 jim.wunderlich 1.33 endif
227 endif
228
229
230 ############################
231 ##
232 ## TestBinCmpBuild - used to compile the repository for compression
233 ##
234 TestBinCmpBuild:
235 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
236 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
237 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
238
239
240 ############################
241 ##
242 ## TestBinRegBuild - used to compile the repository for no compression
243 ##
244 TestBinRegBuild:
245 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
246 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend
247 jim.wunderlich 1.33 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository
248
|
249 jim.wunderlich 1.29
|
250 jim.wunderlich 1.31 ###########################
251 ##
252 ## TestBinClean
253 ##
254 TestBinClean:
255 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
256 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
|
257 jim.wunderlich 1.29
|
258 jim.wunderlich 1.31
259 ###########################
|
260 jim.wunderlich 1.29 ##
|
261 jim.wunderlich 1.31 ## TestBinStartServer
|
262 jim.wunderlich 1.29 ##
|
263 jim.wunderlich 1.31 TestBinStartServer:
|
264 jim.wunderlich 1.30 $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
|
265 jim.wunderlich 1.31 - $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
266 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
|
267 jim.wunderlich 1.29 $(SLEEP) 5
|
268 jim.wunderlich 1.31
269 ###########################
|
270 jim.wunderlich 1.29 ##
|
271 jim.wunderlich 1.31 ## TestBinBuildRepo
|
272 jim.wunderlich 1.29 ##
|
273 jim.wunderlich 1.31 TestBinBuildRepo:
|
274 jim.wunderlich 1.29 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
275 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
|
276 jim.wunderlich 1.31
277
278 ###########################
279 ##
280 ## TestBinBuildRepoServ
281 ##
282 TestBinBuildRepoServ: TestBinStartServer
283 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
284 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
285 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
286
287
288 ###########################
289 ##
290 ## TestBinRepo
291 ##
292 TestBinRepo: poststarttestsclean TestBinStartServer
|
293 jim.wunderlich 1.29 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
|
294 jim.wunderlich 1.31 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
295 jim.wunderlich 1.29
296
297
|
298 nag.boranna 1.27 ###############################################################################
|
299 kumpf 1.1 ##
300 ## Trace Configuration
301 ##
302 ## Options:
303 ## XMLTraceOn: Enables XML request and response tracing.
304 ## ProviderLoadTraceOn: Enables Provider load tracing.
305 ## XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
306 ## load tracing.
307 ## AllTraceOn: Enables all tracing.
308 ## AllTraceOff: Disables all tracing.
309 ## list: Lists trace settings.
310 ##
311 ###############################################################################
312
313 XMLTraceOn:
314 cimconfig -s traceComponents=XmlIO -c
315 cimconfig -s traceLevel=3 -c
316 cimconfig -g traceComponents
317 cimconfig -g traceLevel
318
319 ProviderLoadTraceOn:
320 kumpf 1.1 cimconfig -s traceComponents=ProvManager,OsAbstraction
321 cimconfig -s traceLevel=3 -c
322 cimconfig -g traceComponents
323 cimconfig -g traceLevel
324
325 XML+ProviderLoadTraceOn:
326 cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
327 cimconfig -s traceLevel=3 -c
328 cimconfig -g traceComponents
329 cimconfig -g traceLevel
330
331 AllTraceOn:
332 cimconfig -s traceComponents=ALL
333 cimconfig -s traceLevel=3 -c
334 cimconfig -g traceComponents
335 cimconfig -g traceLevel
336
337 AllTraceOff:
338 cimconfig -s traceComponents=
339 cimconfig -g traceComponents
340 cimconfig -g traceLevel
341 kumpf 1.1
342 list:
343 cimconfig -g traceComponents
344 cimconfig -g traceLevel
345 cimconfig -g traceFilePath
346
|
347 kumpf 1.21 # More options...
|
348 kumpf 1.1
|
349 david.dillard 1.15 standardtests:
|
350 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
351 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
352 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
353 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
354 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
355 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
356 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
357 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
|
358 kumpf 1.1
359 TestNoSecurity:
360 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests
|
361 kumpf 1.24 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
|
362 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
|
363 kumpf 1.1
364 TestLocalSecurity:
|
365 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
|
366 kumpf 1.1 $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
367
368 TestRemoteSecurity:
369 TestClient -user guest -password guest $(system):5988
370 $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
371
372 TestAuthorization:
|
373 kumpf 1.4 DeleteNamespace -a -user guest -password guest
|
374 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
|
375 kumpf 1.4 TestClient -user guest -password guest $(system):5988
376 $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
|
377 kumpf 1.1
378 TestSubscriptions:
|
379 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
|
380 kumpf 1.1 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
381 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
|
382 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
|
383 david.dillard 1.15 $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
|
384 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
|
385 kumpf 1.1
386 TestCimmof:
|
387 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f Testcimmof poststarttests
|
388 kumpf 1.1
389 RunTestClientLocal:
390 TestClient -local
391
392 DisableSecurity:
|
393 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
394 kumpf 1.1 cimconfig -s enableAuthentication=false -p
395 cimconfig -s enableNamespaceAuthorization=false -p
396
397 EnableAuthentication:
|
398 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
399 kumpf 1.1 cimconfig -s enableAuthentication=true -p
|
400 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
401 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
|
402 kumpf 1.1
403 EnableAuthorization:
|
404 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
405 kumpf 1.10 cimconfig -s enableNamespaceAuthorization=true -p
|
406 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
407 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
|
408 kumpf 1.1
409 EnableSSL:
|
410 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
411 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
|
412 kumpf 1.1
413 ConfigureUsers:
414 ifndef PEGASUS_PAM_AUTHENTICATION
415 cimuser -a -u guest -w guest
416 endif
417
418 ConfigureAuthorizations:
419 cimauth -a -u guest -n test/cimv2 -R -W
420 cimauth -a -u guest -n root/cimv2 -R -W
|
421 kumpf 1.10 cimauth -a -u guest -n root/PG_Internal -R -W
422 cimauth -a -u guest -n root/PG_InterOp -R -W
423 cimauth -a -u guest -n root/benchmark -R -W
424 cimauth -a -u guest -n root/sampleprovider -R -W
|
425 kumpf 1.1 cimauth -a -u guest -n test/static -R -W
426 cimauth -a -u guest -n root/SampleProvider -R -W
427 cimauth -a -u guest -n root -R -W
428 cimauth -a -u guest -n test1 -R -W
429 cimauth -a -u guest -n test2 -R -W
430 cimauth -a -u guest -n test3 -R -W
431 cimauth -a -u guest -n test4 -R -W
432 cimauth -a -u guest -n test5 -R -W
433 cimauth -a -u guest -n test6 -R -W
434 cimauth -a -u guest -n test1/test2 -R -W
435 cimauth -a -u guest -n test1/test2/test3 -R -W
436 cimauth -a -u guest -n test1/test2/test3/test4 -R -W
437 cimauth -a -u guest -n test1/test2/test3/test4/test5 -R -W
438 cimauth -a -u guest -n test1/test2/test3/test4/test5/test6 -R -W
439
440 startcimWithoutSSL:
|
441 david.dillard 1.15 $(CIMSERVER_START_SERVICE)
|
442 kumpf 1.19 $(SLEEP) 5
|
443 kumpf 1.1
444 startcimWithSSL:
|
445 david.dillard 1.15 $(CIMSERVER_START_SERVICE) enableHttpConnection=false enableHttpsConnection=true
|
446 kumpf 1.19 $(SLEEP) 5
|