(file) Return to TestMakefile CVS log (file) (dir) Up to [Pegasus] / pegasus

  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 jim.wunderlich 1.40 ## see the usage rule for documentation of rules etc.
 34 jim.wunderlich 1.34 ##
 35                     ##
 36 kumpf          1.1  ###############################################################################
 37                     
 38 david.dillard  1.15 error:
 39 jim.wunderlich 1.40 	@ $(ECHO) "Specify desired makefile option (i.e., unittests, usage )"
 40 kumpf          1.1  
 41 kumpf          1.23 include $(PEGASUS_ROOT)/mak/config.mak
 42                     include $(PEGASUS_ROOT)/mak/test.mak
 43                     include $(PEGASUS_ROOT)/mak/commands.mak
 44                     
 45                     system = localhost
 46                     
 47 jim.wunderlich 1.34 .PHONY: FORCE
 48                     
 49                     FORCE:
 50                     
 51 jim.wunderlich 1.40 usage: FORCE
 52                     	$(USAGE)
 53                     	$(USAGE)"TestMakefile Primary Targets:"
 54                     	$(USAGE)
 55                     	$(USAGE)"The following are all standalone tests. They stop and start the server,"
 56                     	$(USAGE)"and build repositories as needed."
 57                     	$(USAGE)
 58                     	$(USAGE)"alltests           - Execute unittests and servertests"
 59                     	$(USAGE)"unittests          - Execute the unit functional tests - no repository"
 60                     	$(USAGE)"                     or active server is required"
 61                     	$(USAGE)"servertests        - Execute a basic server test suites (No security, No SSL)"
 62                     	$(USAGE)"standardtests      - Execute an extended server test suites "
 63                     	$(USAGE)"                     using multiple options."
 64                     	$(USAGE)"serverquicktests   - Executes a brief server test"
 65 jim.wunderlich 1.45 	$(USAGE)"perftests          - Executes a brief server performance test"
 66 jim.wunderlich 1.40 	$(USAGE)
 67                     	$(USAGE)"usage2             - usage on secondary test targets"
 68 jim.wunderlich 1.43 	$(USAGE)"usagetrace         - usage on trace targets"
 69 jim.wunderlich 1.40 	$(USAGE)
 70                     
 71                     usage2: FORCE
 72                     	$(USAGE)
 73                     	$(USAGE)"TestMakefile Secondary Targets:"
 74                     	$(USAGE)
 75                     	$(USAGE)"The following are run as part of the Primary target test suites and may"
 76                     	$(USAGE)"also be invoked as standalone tests."
 77                     	$(USAGE)
 78                     	$(USAGE)"TestXMLRepository       - Executes poststarttests on XML repository"
 79                     	$(USAGE)"                          built with cimmofl."
 80                     	$(USAGE)"TestXMLRepositoryServer - Executes poststarttests on XML repository" 
 81                     	$(USAGE)"                          built with cimmof."
 82                     	$(USAGE)"TestXMLCmpRepository    - Executes poststarttests on XML compressed"
 83                     	$(USAGE)"                          repository built with cimmofl."
 84                     	$(USAGE)"TestBinRepository       - Executes poststarttests on binary repository "
 85                     	$(USAGE)"                          built with cimmofl."
 86                     	$(USAGE)"TestBinRepositoryServer - Executes poststarttests on binary repository"
 87                     	$(USAGE)"                          built with cimmof."
 88                     	$(USAGE)"TestBinCmpRepository    - Executes poststarttests on binary compressed"
 89                     	$(USAGE)"                          repository built with cimmofl."
 90 jim.wunderlich 1.40 	$(USAGE)
 91                     	$(USAGE)"The following require the repository to be pre-built."
 92                     	$(USAGE)
 93                     	$(USAGE)"run_SSL_TS1             - Executes the SSL tests"
 94                     	$(USAGE)"run_OOP_TS1             - Executes the Out Of Process Provider tests"
 95 kumpf          1.46 	$(USAGE)"run_G11N_TS1            - Executes the Globalization tests"
 96 jim.wunderlich 1.40 	$(USAGE)
 97                     	$(USAGE)"The following require the repository to be pre-built and the server to be started."
 98                     	$(USAGE)
 99                     	$(USAGE)"serversuite             - the collection of test run by the servertests rule"
100                     	$(USAGE)"serverquicksuite        - The collection of test run by the serverquicktests rule"
101                     	$(USAGE)
102                     
103                     
104                     ##########################################################
105                     #
106                     # rules that are defined in Makefile
107                     #
108                     ##########################################################
109 kumpf          1.21 
110 jim.wunderlich 1.39 build: FORCE
111                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile build
112 kumpf          1.21 
113 jim.wunderlich 1.40 world: FORCE
114                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile world
115                     
116                     new: FORCE
117                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile new
118                     
119 jim.wunderlich 1.39 clean: FORCE
120 kumpf          1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile clean
121                     
122 jim.wunderlich 1.40 depend: FORCE
123                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile depend
124                     
125                     
126                     ############################################################
127                     #
128                     # rules defined here
129                     #
130                     ############################################################
131                     
132 jim.wunderlich 1.41 ##
133                     ## Although the macros CIMSERVER_STOP_SERVICE and CIMSERVER_START_SERVICE
134                     ## are available and could be invoked directly, their direct usage is
135                     ## discouraged in favor of invoking the cimstop and the cimstart rules
136                     ## as this allows one place where additional checks, delays etc may be 
137                     ## added in the future to control or further test the servers performance
138                     ## in executing these commands.
139                     ##
140                     
141 jim.wunderlich 1.40 #######################
142                     #
143                     # doc
144                     #
145 kumpf          1.1  doc:
146 mday           1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/ProviderSpec -f Makefile
147                     	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/DevManual -f Makefile
148 kumpf          1.1  
149 jim.wunderlich 1.40 
150                     #######################
151                     #
152                     # repositoryServer
153                     #
154                     repositoryServer: FORCE
155 kumpf          1.22 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
156 kumpf          1.19 	$(SLEEP) 5
157 kumpf          1.1  	$(RMDIRHIER) $(REPOSITORY_ROOT)
158 jim.wunderlich 1.41 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
159 kumpf          1.19 	$(SLEEP) 5
160 kumpf          1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer
161                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer
162 mday           1.6  
163 jim.wunderlich 1.40 ######################
164                     #
165                     # prestarttests is being deprecated since poststarttest is being deprecated
166                     # in favor of name more related to its intended functionality. 
167                     #
168                     prestarttests: prestarttests_msg shortsleep unittests
169                     
170                     prestarttests_msg: FORCE
171                     	@$(ECHO) "=============================================================================="
172                     	@$(ECHO) "TestMakefile: The \"prestarttests\" rule is being deprecated."
173                     	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
174                     	@$(ECHO) "              The equivalent new rule is \"unittests\"."  
175                     	@$(ECHO) "              Invoking the \"unittests\" rule now."
176                     	@$(ECHO) "=============================================================================="
177                     
178                     ####################
179                     #
180                     # poststarttests is being deprecated since it multiply defines a 
181                     # recursive make rule leading to ambuguity and confusion.
182                     #
183                     poststarttests: poststarttests_msg shortsleep servertests 
184 jim.wunderlich 1.40 
185                     poststarttests_msg: FORCE
186                     	@$(ECHO) "==============================================================================="
187                     	@$(ECHO) "TestMakefile: The \"posstarttests\" rule is being deprecated.."  
188                     	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
189                     	@$(ECHO) "              The equivalent new rule is \"servertests\"."  
190                     	@$(ECHO) "              Invoking the \"servertests\" rule now."
191                     	@$(ECHO) "==============================================================================="
192                     
193                     #####################
194                     #
195                     # tests is being deprecated since it multiply defines a 
196                     # recursive make rule leading to ambuguity and confusion.
197                     #
198                     tests: tests_msg shortsleep alltests
199                     
200                     tests_msg: FORCE
201                     	@$(ECHO) "==================================================================="
202                     	@$(ECHO) "TestMakefile: The \"tests\" rule is being deprecated."
203                     	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
204                     	@$(ECHO) "              The equivalent new rule is \"alltests\"."  
205 jim.wunderlich 1.40 	@$(ECHO) "              Invoking the \"alltests\" rule now."
206                     	@$(ECHO) "==================================================================="
207                     
208                     
209                     shortsleep: FORCE
210                     	@$(SLEEP) 5
211                     
212                     ####################
213                     #
214                     # unittests
215                     #
216                     unittests: FORCE
217 h.sterling     1.38 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile tests
218 jim.wunderlich 1.40 	@ $(ECHO) "+++++ TestMakefile unittests complete"
219                     
220                     #####################
221                     #
222                     # servertests
223                     #
224 kumpf          1.1  
225 jim.wunderlich 1.40 servertestsclean: FORCE
226 jim.wunderlich 1.41 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
227 lucier         1.17 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/CQL/tests/Queries -f Makefile clean
228                     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Query/QueryExpression/tests/Queries -f Makefile clean
229 mday           1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean
230 jim.wunderlich 1.31 
231 jim.wunderlich 1.40 servertestssetup: FORCE
232 denise.eckstein 1.50 ifdef PEGASUS_HAS_SSL
233                      # The association between user names and certificates is stored in the repository.  If the
234                      # repository is recreated, we also need to re-initialize the trust store directories.
235                      # Otherwise, the truststore content will be out-of-sync with the mapping stored in the
236                      # repository.
237                      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile removeSSLTrustDirectories
238                      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile createSSLTrustDirectories
239                      endif
240 jim.wunderlich  1.40 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
241                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
242 jim.wunderlich  1.41 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstart
243 kumpf           1.19 	$(SLEEP) 5
244 denise.eckstein 1.50 ifdef PEGASUS_HAS_SSL
245                      ifdef PEGASUS_TEST_USER_DEFINED
246                      	ssltrustmgr -a -c pegtest -f $(PEGASUS_HOME)/server.pem
247                      endif
248                      endif
249 jim.wunderlich  1.40 
250                      servertests: servertestsclean servertestssetup serversuite
251                      	@ $(ECHO) "+++++ TestMakefile servertests suites complete"
252                      
253                      serversuite: FORCE
254 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests
255 jim.wunderlich  1.33 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinRepository
256 kumpf           1.20 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOP_TS1
257 carolann.graves 1.28 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_IndInit_TS1
258 denise.eckstein 1.47 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_INDSSL_TS1
259 h.sterling      1.37 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SSL_TS1
260 kumpf           1.46 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_G11N_TS1
261 kumpf           1.1  
262 jim.wunderlich  1.40 ####################
263                      #
264                      # serverquicktests
265                      #
266                      serverquicktests: servertestsclean servertestssetup serverquicksuite
267                      	@ $(ECHO) "+++++ TestMakefile serverquicktests complete"
268                      
269                      serverquicksuite: FORCE
270                      	$(PEGASUS_HOME)/bin/Client
271                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests
272 jim.wunderlich  1.45 	$(PEGASUS_HOME)/bin/TestClient
273                      
274                      ####################
275                      #
276                      # perftests - simple performance test until we have better
277                      #
278                      # - Turns statistics on (uses TestInterop until we have better)
279                      # - runs and times serverquicktests suite 
280                      # - runs cimperf to displat the statistics
281                      # - turns statistics off 
282                      #
283                      perftests: servertestsclean servertestssetup perfsuite
284                      
285                      perfsuite: FORCE
286                      	$(PEGASUS_HOME)/bin/TestInterop on
287                      	$(TIME_CMD) $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests
288                      	@ $(ECHO) " "
289                      	$(TIME_CMD) $(PEGASUS_HOME)/bin/TestClient
290                      	@ $(ECHO) " "
291                      	$(TIME_CMD) $(PEGASUS_HOME)/bin/benchmarkTest
292                      	@ $(ECHO) " "
293 jim.wunderlich  1.45 	@ $(ECHO) " "
294                      	$(TIME_CMD) $(PEGASUS_HOME)/bin/cimperf
295                      	@ $(ECHO) " "
296                      	$(PEGASUS_HOME)/bin/TestInterop off
297                      
298 jim.wunderlich  1.40 
299                      ####################
300                      #
301                      # alltests
302                      #
303                      alltests: unittests servertests
304 tony            1.5  ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
305 kumpf           1.22 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
306 mday            1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile uninstall
307 tony            1.5  endif
308 jim.wunderlich  1.40 	@ $(ECHO) "+++++ TestMakefile alltests Complete"
309 kumpf           1.1  
310                      ###############################################################################
311 denise.eckstein 1.18 ##  Test Suite Definitions
312                      ###############################################################################
313                      
314                      ###############################################################################
315                      ##  OOP Test Suite 1: "Out-of-Process"(OOP) Provider Tests 
316                      ##
317                      ##  Configuration Options: forceProviderProcesses=true
318                      ##
319 jim.wunderlich  1.51 ##  If PEGASUS_DEFAULT_OOP_ON is set, then tests are run with OOP disabled
320                      ##  since tests have already been run with OOP enabled.
321                      ##
322                      ##
323 denise.eckstein 1.18 ###############################################################################
324 jim.wunderlich  1.51 ifeq ($(PEGASUS_DEFAULT_OOP_ON),true)
325 denise.eckstein 1.18 OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=true
326 jim.wunderlich  1.51 else
327                      OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
328 kumpf           1.44 endif
329 jim.wunderlich  1.51 
330 denise.eckstein 1.18 OOP_TS1_TEST_CMDS = \
331 jim.wunderlich  1.51         $(MAKE)@@--directory=$(PEGASUS_ROOT)@@Makefile@@-s@@poststarttests
332 denise.eckstein 1.18 
333                      run_OOP_TS1:
334 denise.eckstein 1.26 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
335 denise.eckstein 1.18             CIMSERVER_CONFIG_OPTIONS="$(OOP_TS1_CONFIG_OPTIONS)" \
336                                  TESTSUITE_CMDS="$(OOP_TS1_TEST_CMDS)"
337 jim.wunderlich  1.51 
338 denise.eckstein 1.18 ###############################################################################
339                      
340                      ###############################################################################
341 carolann.graves 1.28 ##  IndInit Test Suite 1: IndicationService Initialization Tests 
342                      ##
343                      ##  Configuration Options: (none)
344                      ##
345                      ###############################################################################
346                      IndInit_TS1_CONFIG_OPTIONS = 
347                      IndInit_TS1a_TEST_CMDS = \
348                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1a
349                      IndInit_TS1b_TEST_CMDS = \
350                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1b
351                      
352                      run_IndInit_TS1:
353                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
354                                  CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
355                                  TESTSUITE_CMDS="$(IndInit_TS1a_TEST_CMDS)"
356                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
357                                  CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
358                                  TESTSUITE_CMDS="$(IndInit_TS1b_TEST_CMDS)"
359                      
360                      ###############################################################################
361 denise.eckstein 1.47 ##  Indication SSL Test Suite 1: Indication Testing over HTTPS
362                      ##
363                      ##  Configuration Options: (none)
364                      ##
365                      ###############################################################################
366 denise.eckstein 1.50 INDSSL_TS1a_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=false
367 denise.eckstein 1.47 INDSSL_TS1a_TEST_CMDS = \
368 denise.eckstein 1.50 	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationDisabled
369                      
370                      INDSSL_TS1b_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true sslClientVerificationMode=required
371 denise.eckstein 1.47 INDSSL_TS1b_TEST_CMDS = \
372 denise.eckstein 1.50 	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationEnabled
373                      
374 denise.eckstein 1.47 
375                      ifdef PEGASUS_HAS_SSL
376                      run_INDSSL_TS1:
377                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
378 denise.eckstein 1.50             CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1a_CONFIG_OPTIONS)" \
379 denise.eckstein 1.47             TESTSUITE_CMDS="$(INDSSL_TS1a_TEST_CMDS)"
380                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
381 denise.eckstein 1.50             CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1b_CONFIG_OPTIONS)" \
382 denise.eckstein 1.47             TESTSUITE_CMDS="$(INDSSL_TS1b_TEST_CMDS)"
383                      else
384                      run_INDSSL_TS1: FORCE
385                      	@ $(ECHO) "PEGASUS_HAS_SSL not defined: Skipping run_INDSSL_TS1"
386                      endif
387                      
388                      
389                      ###############################################################################
390                       
391                      ###############################################################################
392 nag.boranna     1.27 ##  SSL Test Suite 1: SSL Tests
393                      ##
394                      ##  Configuration Options: enableAuthentication=true
395                      ##                         enableHttpsConnection=true
396                      ##                         sslClientVerificationMode=optional
397                      ##                         sslTrustStoreUserName=$(CURRENT_USER)
398                      ##
399                      ###############################################################################
400                      SSL_TS1_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true \
401                             sslClientVerificationMode=optional sslTrustStoreUserName=$(CURRENT_USER)
402                      SSL_TS1_TEST_CMDS = \
403                             $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/ssltrustmgr/tests@@SSLCertificateTest1
404                      
405 jim.wunderlich  1.39 ifdef PEGASUS_HAS_SSL
406                      run_SSL_TS1: FORCE
407 nag.boranna     1.27 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
408                                  CIMSERVER_CONFIG_OPTIONS="$(SSL_TS1_CONFIG_OPTIONS)" \
409                                  TESTSUITE_CMDS="$(SSL_TS1_TEST_CMDS)"
410 jim.wunderlich  1.39 else
411                      run_SSL_TS1: FORCE
412                      	@ $(ECHO) "PEGASUS_HAS_SSL not defined: Skipping run_SSL_TS1 poststarttest"
413                      
414                      endif
415                      
416 kumpf           1.46 ###############################################################################
417                      ##  G11N Test Suite 1: Globalization Tests 
418                      ##
419                      ##  Configuration Options: forceProviderProcesses=false
420                      ##
421                      ###############################################################################
422                      G11N_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
423                      G11N_TS1_TEST_CMDS = \
424                              $(MAKE) --directory $(PEGASUS_ROOT)/src/Clients/g11ntest \
425                                  -f Makefile g11ntest
426                      
427                      run_G11N_TS1:
428                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
429                                  CIMSERVER_CONFIG_OPTIONS="$(G11N_TS1_CONFIG_OPTIONS)" \
430                                  TESTSUITE_CMDS="$(G11N_TS1_TEST_CMDS)"
431                      ###############################################################################
432                      
433 jim.wunderlich  1.39 
434 nag.boranna     1.27 ###############################################################################
435                      
436 jim.wunderlich  1.34 
437                      
438                      ##############################################################################
439                      ##
440                      ## TestXMLRepository rule is used to run the poststarttests suite on
441                      ## the XML Repository built using cimmofl
442                      ##
443                      ## TestXMLRepositoryServer rule is used to run the poststarttests suite on
444                      ## the XML Repository built using cimmof
445                      ##
446                      ## TestXMLCmpRepository rule is used to run the poststarttest suite on 
447                      ## the XML Compressed Repository built using cimmofl
448                      ##
449                      
450                      ############################
451                      ##
452                      ## TestXMLRepository
453                      ##
454                      
455                      TestXMLRepository: TestXMLClean TestXMLBuildRepo  TestXMLRepo
456                      	@ $(ECHO) TestXMLRepository +++++ passed all test
457 jim.wunderlich  1.34 
458                      ############################
459                      ##
460                      ## TestXMLRepositoryServer
461                      ##
462                      TestXMLRepositoryServer: TestXMLClean  TestXMLBuildRepoServ TestXMLRepo
463                      	@ $(ECHO) TestXMLRepositoryServer +++++ passed all test
464                      
465                      ############################
466                      ##
467                      ## TestXMLCmpRepository -  run poststarttest on Compressed BIN Repository
468                      ##
469                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
470                      TestXMLCmpRepository: FORCE
471                      	@ $(ECHO) TestXMLCmpRepository +++++ Repository compressed by default - nothing more to test.
472                      	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
473                      else
474                      
475                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
476                      
477                      TestXMLCmpRepository: TestXMLClean  TestCmpBuild TestXMLBuildRepo TestXMLRepo TestRegBuild
478 jim.wunderlich  1.34 	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
479                      else
480                      TestXMLCmpRepository: FORCE
481                      	@ $(ECHO) TestXMLCmpRepository +++++ Not tested 
482                      	@ $(ECHO) TestXMLCmpRepository +++++ refer to readme.compressed_repository
483                      	@ $(ECHO) TestXMLCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
484                      endif
485                      endif
486                      
487                      ###########################
488                      ##
489                      ## TestXMLClean
490                      ##
491                      TestXMLClean: FORCE
492                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
493                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_xml
494                      
495                      
496                      ###########################
497                      ##
498                      ## TestXMLStartServer
499 jim.wunderlich  1.34 ##
500                      TestXMLStartServer: FORCE
501                      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
502                      	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_xml
503                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="repositoryDir=$(PEGASUS_HOME)/repository_xml"
504                      	$(SLEEP) 5
505                      
506                      ####
507                      #### The following caused the cimserver to fail on startup
508                      ####
509                      ####	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinRepository=false repositoryDir=$(PEGASUS_HOME)/repository_xml"
510                      
511                      ###########################
512                      ##
513                      ## TestXMLBuildRepo
514                      ##
515                      TestXMLBuildRepo: FORCE
516                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
517                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
518                      
519                      
520 jim.wunderlich  1.34 ###########################
521                      ##
522                      ## TestXMLBuildRepoServ
523                      ##
524                      TestXMLBuildRepoServ: TestXMLStartServer
525                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
526                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
527                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
528                      
529                      
530                      ###########################
531                      ##
532                      ## TestXMLRepo
533                      ##
534 jim.wunderlich  1.40 TestXMLRepo: servertestsclean
535 jim.wunderlich  1.35 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestXMLStartServer
536 jim.wunderlich  1.34 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
537                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
538                      
539                      
540                      
541                      
542                      
543                      
544 jim.wunderlich  1.29 ##############################################################################
545                      ##
546 jim.wunderlich  1.31 ## TestBinRepository rule is used to run the poststarttests suite on
547 jim.wunderlich  1.33 ## the Binary Repository built using cimmofl
548 jim.wunderlich  1.29 ##
549 jim.wunderlich  1.31 ## TestBinRepositoryServer rule is used to run the poststarttests suite on
550 jim.wunderlich  1.33 ## the Binary Repository built using cimmof
551                      ##
552                      ## TestBinCmpRepository rule is used to run the poststarttest suite on 
553                      ## the Binry Compressed Repository built using cimmofl
554 jim.wunderlich  1.29 ##
555 jim.wunderlich  1.31 
556                      ############################
557 jim.wunderlich  1.29 ##
558 jim.wunderlich  1.31 ## TestBinRepository
559 jim.wunderlich  1.29 ##
560 jim.wunderlich  1.33 ### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow
561                      ### the nightly tests to run
562                      
563 jim.wunderlich  1.31 TestBinRepository: TestBinClean TestBinBuildRepo  TestBinRepo
564 jim.wunderlich  1.33 	@ $(ECHO) TestBinRepository +++++ passed all test
565 jim.wunderlich  1.36 
566 jim.wunderlich  1.29 
567 jim.wunderlich  1.31 ############################
568                      ##
569                      ## TestBinRepositoryServer
570                      ##
571                      TestBinRepositoryServer: TestBinClean  TestBinBuildRepoServ TestBinRepo
572 jim.wunderlich  1.33 	@ $(ECHO) TestBinRepositoryServer +++++ passed all test
573                      
574                      ############################
575                      ##
576                      ## TestBinCmpRepository -  run poststarttest on Compressed BIN Repository
577                      ##
578                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
579 jim.wunderlich  1.34 TestBinCmpRepository: FORCE
580 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
581                      	@ $(ECHO) TestBinCmpRepository +++++ passed all test
582                      else
583                      
584                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
585                      
586 jim.wunderlich  1.34 TestBinCmpRepository: TestBinClean  TestCmpBuild TestBinBuildRepo TestBinRepo TestRegBuild
587 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ passed all test
588                      else
589 jim.wunderlich  1.34 TestBinCmpRepository: FORCE
590 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ Not tested 
591                      	@ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
592                      	@ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
593                      endif
594                      endif
595                      
596                      
597 jim.wunderlich  1.31 ###########################
598                      ##
599                      ## TestBinClean
600                      ##
601 jim.wunderlich  1.34 TestBinClean: FORCE
602 jim.wunderlich  1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
603                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
604 jim.wunderlich  1.29 
605 jim.wunderlich  1.31 
606                      ###########################
607 jim.wunderlich  1.29 ##
608 jim.wunderlich  1.31 ## TestBinStartServer
609 jim.wunderlich  1.29 ##
610 jim.wunderlich  1.34 TestBinStartServer: FORCE
611 jim.wunderlich  1.30 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
612 jim.wunderlich  1.31 	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
613                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
614 jim.wunderlich  1.29 	$(SLEEP) 5
615 jim.wunderlich  1.31 
616                      ###########################
617 jim.wunderlich  1.29 ##
618 jim.wunderlich  1.31 ## TestBinBuildRepo
619 jim.wunderlich  1.29 ##
620 jim.wunderlich  1.34 TestBinBuildRepo: FORCE
621 jim.wunderlich  1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
622                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
623 jim.wunderlich  1.31 
624                      
625                      ###########################
626                      ##
627                      ## TestBinBuildRepoServ
628                      ##
629                      TestBinBuildRepoServ: TestBinStartServer
630                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
631                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
632                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
633                      
634                      
635                      ###########################
636                      ##
637                      ## TestBinRepo
638                      ##
639 jim.wunderlich  1.40 TestBinRepo: servertestsclean 
640 jim.wunderlich  1.35 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinStartServer
641 jim.wunderlich  1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
642 jim.wunderlich  1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
643 jim.wunderlich  1.29 
644                      
645                      
646 jim.wunderlich  1.34 
647                      ############################
648                      ##
649                      ## TestCmpBuild - used to compile the repository for compression
650                      ##
651                      TestCmpBuild: FORCE
652                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
653                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
654                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
655                      
656                      
657                      ############################
658                      ##
659                      ## TestRegBuild - used to compile the repository for no compression
660                      ##
661                      TestRegBuild: FORCE
662                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
663                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend 
664                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository 
665                      
666                      
667 nag.boranna     1.27 ###############################################################################
668 kumpf           1.1  ##
669                      ## Trace Configuration
670                      ##
671 jim.wunderlich  1.43 ## Options: see usagetrace rule
672                      ##
673                      ###############################################################################
674                      
675                      usagetrace: FORCE
676                      	$(USAGE)
677                      	$(USAGE)"TestMakefile Trace Commands: (cimserver should be running)"
678                      	$(USAGE)
679                      	$(USAGE)
680                      	$(USAGE)" traceon:                  Enables all tracing."
681                      	$(USAGE)" traceoff:                 Disables all tracing."
682                      	$(USAGE)" tracesettings:            Displays trace settings."
683                      	$(USAGE)" tracecomp:                Displays a trace componenets list."
684                      	$(USAGE)" traceon-CL C=[comp] L=[level(1,2,3,4)]:  "
685                      	$(USAGE)"                           Enables tracing on component C at trace level L."
686                      	$(USAGE)"                           Usage example:"
687                      	$(USAGE)"                           Turns tracing on for DiscardedData at level 3"
688                      	$(USAGE)"                           traceon-CL C=DiscardedData L=3"
689                      	$(USAGE)
690                      	$(USAGE)
691                      
692 jim.wunderlich  1.43 traceon: FORCE
693                      	@ cimconfig -s traceComponents=ALL
694                      	@ cimconfig -s traceLevel=3 -c
695                      	@ cimconfig -g traceComponents
696                      	@ cimconfig -g traceLevel
697                      
698                      traceoff: FORCE
699                      	@ cimconfig -s traceComponents=
700                      	@ cimconfig -g traceComponents
701                      	@ cimconfig -g traceLevel
702                      
703                      
704                      tracesettings: FORCE
705                      	@ $(ECHO) " "
706                      	cimconfig -g traceComponents
707                      	@ $(ECHO) " "
708                      	cimconfig -g traceLevel
709                      	@ $(ECHO) " "
710                      	cimconfig -g traceFilePath
711                      	@ $(ECHO) " "
712                      
713 jim.wunderlich  1.43 traceon-CL: FORCE
714                      	@ cimconfig -s traceComponents=$C -c
715                      	@ cimconfig -s traceLevel=$L -c
716                      	@ cimconfig -g traceComponents
717                      	@ cimconfig -g traceLevel
718                      
719                      tracecomp: FORCE
720                      	$(USAGE)
721                      	$(USAGE)"Trace component list:"
722                      	$(USAGE)
723                      	$(USAGE)"Channel"
724                      	$(USAGE)"XmlParser"
725                      	$(USAGE)"XmlWriter"
726                      	$(USAGE)"XmlReader"
727                      	$(USAGE)"XmlIO"
728                      	$(USAGE)"Http"
729                      	$(USAGE)"CimData"
730                      	$(USAGE)"ProvManager"
731                      	$(USAGE)"Repository"
732                      	$(USAGE)"Dispatcher"
733                      	$(USAGE)"OsAbstraction"
734 jim.wunderlich  1.43 	$(USAGE)"Config"
735                      	$(USAGE)"IndDelivery"
736                      	$(USAGE)"IndHandler"
737                      	$(USAGE)"Authentication"
738                      	$(USAGE)"Authorization"
739                      	$(USAGE)"UserManager"
740                      	$(USAGE)"SubscriptionService"
741                      	$(USAGE)"Registration"
742                      	$(USAGE)"Shutdown"
743                      	$(USAGE)"Server"
744                      	$(USAGE)"IndicationService"
745                      	$(USAGE)"IndicationServiceInternal"
746                      	$(USAGE)"ConfigurationManager"
747                      	$(USAGE)"MessageQueueService"
748                      	$(USAGE)"ProviderManager"
749                      	$(USAGE)"ObjectResolution"
750                      	$(USAGE)"WQL"
751                      	$(USAGE)"CQL"
752                      	$(USAGE)"Thread"
753                      	$(USAGE)"MetaDispatcher"
754                      	$(USAGE)"IPC"
755 jim.wunderlich  1.43 	$(USAGE)"IndicationHandlerService"
756                      	$(USAGE)"CIMExportRequestDispatcher"
757                      	$(USAGE)"Memory"
758                      	$(USAGE)"SSL"
759                      	$(USAGE)"ControlProvider"
760                      	$(USAGE)"AsyncOpNode"
761                      	$(USAGE)"CIMOMHandle"
762                      	$(USAGE)"BinaryMessageHandler"
763                      	$(USAGE)"L10N"
764                      	$(USAGE)"ExportClient"
765                      	$(USAGE)"Listener"
766                      	$(USAGE)"DiscardedData"
767                      	$(USAGE)"ProviderAgent"
768                      	$(USAGE)
769                      
770                      ###############################################################################
771                      ##
772                      ## Trace Configuration - Old rules being deprecated
773                      ##
774 kumpf           1.1  ## Options:
775                      ##      XMLTraceOn: Enables XML request and response tracing.
776                      ##      ProviderLoadTraceOn: Enables Provider load tracing.
777                      ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
778                      ##                                 load tracing.
779                      ##      AllTraceOn: Enables all tracing.
780                      ##      AllTraceOff: Disables all tracing.
781                      ##      list: Lists trace settings.
782                      ##
783                      ###############################################################################
784                      
785                      XMLTraceOn:
786                      	cimconfig -s traceComponents=XmlIO -c
787                      	cimconfig -s traceLevel=3 -c
788                      	cimconfig -g traceComponents
789                      	cimconfig -g traceLevel
790                      
791                      ProviderLoadTraceOn:
792                      	cimconfig -s traceComponents=ProvManager,OsAbstraction
793                      	cimconfig -s traceLevel=3 -c
794                      	cimconfig -g traceComponents
795 kumpf           1.1  	cimconfig -g traceLevel
796                      
797                      XML+ProviderLoadTraceOn:
798                      	cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
799                      	cimconfig -s traceLevel=3 -c
800                      	cimconfig -g traceComponents
801                      	cimconfig -g traceLevel
802                      
803 jim.wunderlich  1.43 AllTraceOn: traceon
804                      
805                      AllTraceOff: traceoff
806 kumpf           1.1  
807 jim.wunderlich  1.43 list: tracesettings
808 kumpf           1.1  
809                      
810 kumpf           1.21 # More options...
811 kumpf           1.1  
812 jim.wunderlich  1.40 standardtests: FORCE
813 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
814                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
815                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
816                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
817                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
818                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
819                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
820                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
821 jim.wunderlich  1.40 	@ $(ECHO) "+++++ TestMakefile standardtests complete"
822 kumpf           1.1  
823                      TestNoSecurity:
824                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests
825 kumpf           1.24 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
826 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
827 kumpf           1.1  
828                      TestLocalSecurity:
829 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
830 kumpf           1.1  	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
831                      
832                      TestRemoteSecurity:
833                      	TestClient -user guest -password guest $(system):5988
834                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
835                      
836                      TestAuthorization:
837 kumpf           1.4  	DeleteNamespace -a -user guest -password guest
838 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
839 kumpf           1.4  	TestClient -user guest -password guest $(system):5988
840                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
841 kumpf           1.1  
842                      TestSubscriptions:
843 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
844 kumpf           1.1  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
845                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
846 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
847 david.dillard   1.15 	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
848 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
849 kumpf           1.1  
850                      TestCimmof:
851 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Testcimmof poststarttests
852 kumpf           1.1  
853                      RunTestClientLocal:
854                      	TestClient -local
855                      
856                      DisableSecurity:
857 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
858 kumpf           1.1  	cimconfig -s enableAuthentication=false -p
859                      	cimconfig -s enableNamespaceAuthorization=false -p
860                      
861                      EnableAuthentication:
862 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
863 kumpf           1.1  	cimconfig -s enableAuthentication=true -p
864 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
865                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
866 kumpf           1.1  
867                      EnableAuthorization:
868 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
869 kumpf           1.10 	cimconfig -s enableNamespaceAuthorization=true -p
870 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
871                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
872 kumpf           1.1  
873                      EnableSSL:
874 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
875                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
876 kumpf           1.1  
877                      ConfigureUsers:
878                      ifndef PEGASUS_PAM_AUTHENTICATION
879                      	cimuser -a -u guest -w guest
880                      endif
881                      
882                      ConfigureAuthorizations:
883                      	cimauth -a -u guest -n test/cimv2 -R -W
884                      	cimauth -a -u guest -n root/cimv2 -R -W
885 kumpf           1.10 	cimauth -a -u guest -n root/PG_Internal -R -W
886                      	cimauth -a -u guest -n root/PG_InterOp -R -W
887                      	cimauth -a -u guest -n root/benchmark -R -W
888                      	cimauth -a -u guest -n root/sampleprovider -R -W
889 kumpf           1.1  	cimauth -a -u guest -n test/static -R -W
890                      	cimauth -a -u guest -n root/SampleProvider -R -W
891                      	cimauth -a -u guest -n root -R -W
892                      	cimauth -a -u guest -n test1 -R -W
893                      	cimauth -a -u guest -n test2 -R -W
894                      	cimauth -a -u guest -n test3 -R -W
895                      	cimauth -a -u guest -n test4 -R -W
896                      	cimauth -a -u guest -n test5 -R -W
897                      	cimauth -a -u guest -n test6 -R -W
898                      	cimauth -a -u guest -n test1/test2 -R -W
899                      	cimauth -a -u guest -n test1/test2/test3 -R -W
900                      	cimauth -a -u guest -n test1/test2/test3/test4 -R -W
901                      	cimauth -a -u guest -n test1/test2/test3/test4/test5 -R -W
902                      	cimauth -a -u guest -n test1/test2/test3/test4/test5/test6 -R -W
903                      
904 jim.wunderlich  1.41 startcimWithoutSSL: FORCE
905                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
906 kumpf           1.19 	$(SLEEP) 5
907 kumpf           1.1  
908 jim.wunderlich  1.41 startcimWithSSL: FORCE
909                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=false enableHttpsConnection=true"
910 kumpf           1.19 	$(SLEEP) 5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2