(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                      ###############################################################################
320                      OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=true
321 kumpf           1.44 ifndef PEGASUS_DEFAULT_OOP_FALSE
322                          ifeq ($(OS),HPUX)
323                              OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
324                          endif
325 kumpf           1.49     ifeq ($(OS),linux)
326 kumpf           1.48         OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
327                          endif
328 kumpf           1.44 endif
329 denise.eckstein 1.18 OOP_TS1_TEST_CMDS = \
330                              TestClient
331                      
332                      run_OOP_TS1:
333 denise.eckstein 1.26 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
334 denise.eckstein 1.18             CIMSERVER_CONFIG_OPTIONS="$(OOP_TS1_CONFIG_OPTIONS)" \
335                                  TESTSUITE_CMDS="$(OOP_TS1_TEST_CMDS)"
336                      ###############################################################################
337                      
338                      ###############################################################################
339 carolann.graves 1.28 ##  IndInit Test Suite 1: IndicationService Initialization Tests 
340                      ##
341                      ##  Configuration Options: (none)
342                      ##
343                      ###############################################################################
344                      IndInit_TS1_CONFIG_OPTIONS = 
345                      IndInit_TS1a_TEST_CMDS = \
346                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1a
347                      IndInit_TS1b_TEST_CMDS = \
348                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1b
349                      
350                      run_IndInit_TS1:
351                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
352                                  CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
353                                  TESTSUITE_CMDS="$(IndInit_TS1a_TEST_CMDS)"
354                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
355                                  CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
356                                  TESTSUITE_CMDS="$(IndInit_TS1b_TEST_CMDS)"
357                      
358                      ###############################################################################
359 denise.eckstein 1.47 ##  Indication SSL Test Suite 1: Indication Testing over HTTPS
360                      ##
361                      ##  Configuration Options: (none)
362                      ##
363                      ###############################################################################
364 denise.eckstein 1.50 INDSSL_TS1a_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=false
365 denise.eckstein 1.47 INDSSL_TS1a_TEST_CMDS = \
366 denise.eckstein 1.50 	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationDisabled
367                      
368                      INDSSL_TS1b_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true sslClientVerificationMode=required
369 denise.eckstein 1.47 INDSSL_TS1b_TEST_CMDS = \
370 denise.eckstein 1.50 	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationEnabled
371                      
372 denise.eckstein 1.47 
373                      ifdef PEGASUS_HAS_SSL
374                      run_INDSSL_TS1:
375                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
376 denise.eckstein 1.50             CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1a_CONFIG_OPTIONS)" \
377 denise.eckstein 1.47             TESTSUITE_CMDS="$(INDSSL_TS1a_TEST_CMDS)"
378                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
379 denise.eckstein 1.50             CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1b_CONFIG_OPTIONS)" \
380 denise.eckstein 1.47             TESTSUITE_CMDS="$(INDSSL_TS1b_TEST_CMDS)"
381                      else
382                      run_INDSSL_TS1: FORCE
383                      	@ $(ECHO) "PEGASUS_HAS_SSL not defined: Skipping run_INDSSL_TS1"
384                      endif
385                      
386                      
387                      ###############################################################################
388                       
389                      ###############################################################################
390 nag.boranna     1.27 ##  SSL Test Suite 1: SSL Tests
391                      ##
392                      ##  Configuration Options: enableAuthentication=true
393                      ##                         enableHttpsConnection=true
394                      ##                         sslClientVerificationMode=optional
395                      ##                         sslTrustStoreUserName=$(CURRENT_USER)
396                      ##
397                      ###############################################################################
398                      SSL_TS1_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true \
399                             sslClientVerificationMode=optional sslTrustStoreUserName=$(CURRENT_USER)
400                      SSL_TS1_TEST_CMDS = \
401                             $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/ssltrustmgr/tests@@SSLCertificateTest1
402                      
403 jim.wunderlich  1.39 ifdef PEGASUS_HAS_SSL
404                      run_SSL_TS1: FORCE
405 nag.boranna     1.27 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
406                                  CIMSERVER_CONFIG_OPTIONS="$(SSL_TS1_CONFIG_OPTIONS)" \
407                                  TESTSUITE_CMDS="$(SSL_TS1_TEST_CMDS)"
408 jim.wunderlich  1.39 else
409                      run_SSL_TS1: FORCE
410                      	@ $(ECHO) "PEGASUS_HAS_SSL not defined: Skipping run_SSL_TS1 poststarttest"
411                      
412                      endif
413                      
414 kumpf           1.46 ###############################################################################
415                      ##  G11N Test Suite 1: Globalization Tests 
416                      ##
417                      ##  Configuration Options: forceProviderProcesses=false
418                      ##
419                      ###############################################################################
420                      G11N_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
421                      G11N_TS1_TEST_CMDS = \
422                              $(MAKE) --directory $(PEGASUS_ROOT)/src/Clients/g11ntest \
423                                  -f Makefile g11ntest
424                      
425                      run_G11N_TS1:
426                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
427                                  CIMSERVER_CONFIG_OPTIONS="$(G11N_TS1_CONFIG_OPTIONS)" \
428                                  TESTSUITE_CMDS="$(G11N_TS1_TEST_CMDS)"
429                      ###############################################################################
430                      
431 jim.wunderlich  1.39 
432 nag.boranna     1.27 ###############################################################################
433                      
434 jim.wunderlich  1.34 
435                      
436                      ##############################################################################
437                      ##
438                      ## TestXMLRepository rule is used to run the poststarttests suite on
439                      ## the XML Repository built using cimmofl
440                      ##
441                      ## TestXMLRepositoryServer rule is used to run the poststarttests suite on
442                      ## the XML Repository built using cimmof
443                      ##
444                      ## TestXMLCmpRepository rule is used to run the poststarttest suite on 
445                      ## the XML Compressed Repository built using cimmofl
446                      ##
447                      
448                      ############################
449                      ##
450                      ## TestXMLRepository
451                      ##
452                      
453                      TestXMLRepository: TestXMLClean TestXMLBuildRepo  TestXMLRepo
454                      	@ $(ECHO) TestXMLRepository +++++ passed all test
455 jim.wunderlich  1.34 
456                      ############################
457                      ##
458                      ## TestXMLRepositoryServer
459                      ##
460                      TestXMLRepositoryServer: TestXMLClean  TestXMLBuildRepoServ TestXMLRepo
461                      	@ $(ECHO) TestXMLRepositoryServer +++++ passed all test
462                      
463                      ############################
464                      ##
465                      ## TestXMLCmpRepository -  run poststarttest on Compressed BIN Repository
466                      ##
467                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
468                      TestXMLCmpRepository: FORCE
469                      	@ $(ECHO) TestXMLCmpRepository +++++ Repository compressed by default - nothing more to test.
470                      	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
471                      else
472                      
473                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
474                      
475                      TestXMLCmpRepository: TestXMLClean  TestCmpBuild TestXMLBuildRepo TestXMLRepo TestRegBuild
476 jim.wunderlich  1.34 	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
477                      else
478                      TestXMLCmpRepository: FORCE
479                      	@ $(ECHO) TestXMLCmpRepository +++++ Not tested 
480                      	@ $(ECHO) TestXMLCmpRepository +++++ refer to readme.compressed_repository
481                      	@ $(ECHO) TestXMLCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
482                      endif
483                      endif
484                      
485                      ###########################
486                      ##
487                      ## TestXMLClean
488                      ##
489                      TestXMLClean: FORCE
490                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
491                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_xml
492                      
493                      
494                      ###########################
495                      ##
496                      ## TestXMLStartServer
497 jim.wunderlich  1.34 ##
498                      TestXMLStartServer: FORCE
499                      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
500                      	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_xml
501                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="repositoryDir=$(PEGASUS_HOME)/repository_xml"
502                      	$(SLEEP) 5
503                      
504                      ####
505                      #### The following caused the cimserver to fail on startup
506                      ####
507                      ####	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinRepository=false repositoryDir=$(PEGASUS_HOME)/repository_xml"
508                      
509                      ###########################
510                      ##
511                      ## TestXMLBuildRepo
512                      ##
513                      TestXMLBuildRepo: FORCE
514                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
515                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
516                      
517                      
518 jim.wunderlich  1.34 ###########################
519                      ##
520                      ## TestXMLBuildRepoServ
521                      ##
522                      TestXMLBuildRepoServ: TestXMLStartServer
523                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
524                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
525                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
526                      
527                      
528                      ###########################
529                      ##
530                      ## TestXMLRepo
531                      ##
532 jim.wunderlich  1.40 TestXMLRepo: servertestsclean
533 jim.wunderlich  1.35 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestXMLStartServer
534 jim.wunderlich  1.34 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
535                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
536                      
537                      
538                      
539                      
540                      
541                      
542 jim.wunderlich  1.29 ##############################################################################
543                      ##
544 jim.wunderlich  1.31 ## TestBinRepository rule is used to run the poststarttests suite on
545 jim.wunderlich  1.33 ## the Binary Repository built using cimmofl
546 jim.wunderlich  1.29 ##
547 jim.wunderlich  1.31 ## TestBinRepositoryServer rule is used to run the poststarttests suite on
548 jim.wunderlich  1.33 ## the Binary Repository built using cimmof
549                      ##
550                      ## TestBinCmpRepository rule is used to run the poststarttest suite on 
551                      ## the Binry Compressed Repository built using cimmofl
552 jim.wunderlich  1.29 ##
553 jim.wunderlich  1.31 
554                      ############################
555 jim.wunderlich  1.29 ##
556 jim.wunderlich  1.31 ## TestBinRepository
557 jim.wunderlich  1.29 ##
558 jim.wunderlich  1.33 ### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow
559                      ### the nightly tests to run
560                      
561 jim.wunderlich  1.31 TestBinRepository: TestBinClean TestBinBuildRepo  TestBinRepo
562 jim.wunderlich  1.33 	@ $(ECHO) TestBinRepository +++++ passed all test
563 jim.wunderlich  1.36 
564 jim.wunderlich  1.29 
565 jim.wunderlich  1.31 ############################
566                      ##
567                      ## TestBinRepositoryServer
568                      ##
569                      TestBinRepositoryServer: TestBinClean  TestBinBuildRepoServ TestBinRepo
570 jim.wunderlich  1.33 	@ $(ECHO) TestBinRepositoryServer +++++ passed all test
571                      
572                      ############################
573                      ##
574                      ## TestBinCmpRepository -  run poststarttest on Compressed BIN Repository
575                      ##
576                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
577 jim.wunderlich  1.34 TestBinCmpRepository: FORCE
578 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
579                      	@ $(ECHO) TestBinCmpRepository +++++ passed all test
580                      else
581                      
582                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
583                      
584 jim.wunderlich  1.34 TestBinCmpRepository: TestBinClean  TestCmpBuild TestBinBuildRepo TestBinRepo TestRegBuild
585 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ passed all test
586                      else
587 jim.wunderlich  1.34 TestBinCmpRepository: FORCE
588 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ Not tested 
589                      	@ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
590                      	@ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
591                      endif
592                      endif
593                      
594                      
595 jim.wunderlich  1.31 ###########################
596                      ##
597                      ## TestBinClean
598                      ##
599 jim.wunderlich  1.34 TestBinClean: FORCE
600 jim.wunderlich  1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
601                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
602 jim.wunderlich  1.29 
603 jim.wunderlich  1.31 
604                      ###########################
605 jim.wunderlich  1.29 ##
606 jim.wunderlich  1.31 ## TestBinStartServer
607 jim.wunderlich  1.29 ##
608 jim.wunderlich  1.34 TestBinStartServer: FORCE
609 jim.wunderlich  1.30 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
610 jim.wunderlich  1.31 	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
611                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
612 jim.wunderlich  1.29 	$(SLEEP) 5
613 jim.wunderlich  1.31 
614                      ###########################
615 jim.wunderlich  1.29 ##
616 jim.wunderlich  1.31 ## TestBinBuildRepo
617 jim.wunderlich  1.29 ##
618 jim.wunderlich  1.34 TestBinBuildRepo: FORCE
619 jim.wunderlich  1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
620                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
621 jim.wunderlich  1.31 
622                      
623                      ###########################
624                      ##
625                      ## TestBinBuildRepoServ
626                      ##
627                      TestBinBuildRepoServ: TestBinStartServer
628                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
629                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
630                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
631                      
632                      
633                      ###########################
634                      ##
635                      ## TestBinRepo
636                      ##
637 jim.wunderlich  1.40 TestBinRepo: servertestsclean 
638 jim.wunderlich  1.35 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinStartServer
639 jim.wunderlich  1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
640 jim.wunderlich  1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
641 jim.wunderlich  1.29 
642                      
643                      
644 jim.wunderlich  1.34 
645                      ############################
646                      ##
647                      ## TestCmpBuild - used to compile the repository for compression
648                      ##
649                      TestCmpBuild: FORCE
650                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
651                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
652                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
653                      
654                      
655                      ############################
656                      ##
657                      ## TestRegBuild - used to compile the repository for no compression
658                      ##
659                      TestRegBuild: FORCE
660                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
661                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend 
662                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository 
663                      
664                      
665 nag.boranna     1.27 ###############################################################################
666 kumpf           1.1  ##
667                      ## Trace Configuration
668                      ##
669 jim.wunderlich  1.43 ## Options: see usagetrace rule
670                      ##
671                      ###############################################################################
672                      
673                      usagetrace: FORCE
674                      	$(USAGE)
675                      	$(USAGE)"TestMakefile Trace Commands: (cimserver should be running)"
676                      	$(USAGE)
677                      	$(USAGE)
678                      	$(USAGE)" traceon:                  Enables all tracing."
679                      	$(USAGE)" traceoff:                 Disables all tracing."
680                      	$(USAGE)" tracesettings:            Displays trace settings."
681                      	$(USAGE)" tracecomp:                Displays a trace componenets list."
682                      	$(USAGE)" traceon-CL C=[comp] L=[level(1,2,3,4)]:  "
683                      	$(USAGE)"                           Enables tracing on component C at trace level L."
684                      	$(USAGE)"                           Usage example:"
685                      	$(USAGE)"                           Turns tracing on for DiscardedData at level 3"
686                      	$(USAGE)"                           traceon-CL C=DiscardedData L=3"
687                      	$(USAGE)
688                      	$(USAGE)
689                      
690 jim.wunderlich  1.43 traceon: FORCE
691                      	@ cimconfig -s traceComponents=ALL
692                      	@ cimconfig -s traceLevel=3 -c
693                      	@ cimconfig -g traceComponents
694                      	@ cimconfig -g traceLevel
695                      
696                      traceoff: FORCE
697                      	@ cimconfig -s traceComponents=
698                      	@ cimconfig -g traceComponents
699                      	@ cimconfig -g traceLevel
700                      
701                      
702                      tracesettings: FORCE
703                      	@ $(ECHO) " "
704                      	cimconfig -g traceComponents
705                      	@ $(ECHO) " "
706                      	cimconfig -g traceLevel
707                      	@ $(ECHO) " "
708                      	cimconfig -g traceFilePath
709                      	@ $(ECHO) " "
710                      
711 jim.wunderlich  1.43 traceon-CL: FORCE
712                      	@ cimconfig -s traceComponents=$C -c
713                      	@ cimconfig -s traceLevel=$L -c
714                      	@ cimconfig -g traceComponents
715                      	@ cimconfig -g traceLevel
716                      
717                      tracecomp: FORCE
718                      	$(USAGE)
719                      	$(USAGE)"Trace component list:"
720                      	$(USAGE)
721                      	$(USAGE)"Channel"
722                      	$(USAGE)"XmlParser"
723                      	$(USAGE)"XmlWriter"
724                      	$(USAGE)"XmlReader"
725                      	$(USAGE)"XmlIO"
726                      	$(USAGE)"Http"
727                      	$(USAGE)"CimData"
728                      	$(USAGE)"ProvManager"
729                      	$(USAGE)"Repository"
730                      	$(USAGE)"Dispatcher"
731                      	$(USAGE)"OsAbstraction"
732 jim.wunderlich  1.43 	$(USAGE)"Config"
733                      	$(USAGE)"IndDelivery"
734                      	$(USAGE)"IndHandler"
735                      	$(USAGE)"Authentication"
736                      	$(USAGE)"Authorization"
737                      	$(USAGE)"UserManager"
738                      	$(USAGE)"SubscriptionService"
739                      	$(USAGE)"Registration"
740                      	$(USAGE)"Shutdown"
741                      	$(USAGE)"Server"
742                      	$(USAGE)"IndicationService"
743                      	$(USAGE)"IndicationServiceInternal"
744                      	$(USAGE)"ConfigurationManager"
745                      	$(USAGE)"MessageQueueService"
746                      	$(USAGE)"ProviderManager"
747                      	$(USAGE)"ObjectResolution"
748                      	$(USAGE)"WQL"
749                      	$(USAGE)"CQL"
750                      	$(USAGE)"Thread"
751                      	$(USAGE)"MetaDispatcher"
752                      	$(USAGE)"IPC"
753 jim.wunderlich  1.43 	$(USAGE)"IndicationHandlerService"
754                      	$(USAGE)"CIMExportRequestDispatcher"
755                      	$(USAGE)"Memory"
756                      	$(USAGE)"SSL"
757                      	$(USAGE)"ControlProvider"
758                      	$(USAGE)"AsyncOpNode"
759                      	$(USAGE)"CIMOMHandle"
760                      	$(USAGE)"BinaryMessageHandler"
761                      	$(USAGE)"L10N"
762                      	$(USAGE)"ExportClient"
763                      	$(USAGE)"Listener"
764                      	$(USAGE)"DiscardedData"
765                      	$(USAGE)"ProviderAgent"
766                      	$(USAGE)
767                      
768                      ###############################################################################
769                      ##
770                      ## Trace Configuration - Old rules being deprecated
771                      ##
772 kumpf           1.1  ## Options:
773                      ##      XMLTraceOn: Enables XML request and response tracing.
774                      ##      ProviderLoadTraceOn: Enables Provider load tracing.
775                      ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
776                      ##                                 load tracing.
777                      ##      AllTraceOn: Enables all tracing.
778                      ##      AllTraceOff: Disables all tracing.
779                      ##      list: Lists trace settings.
780                      ##
781                      ###############################################################################
782                      
783                      XMLTraceOn:
784                      	cimconfig -s traceComponents=XmlIO -c
785                      	cimconfig -s traceLevel=3 -c
786                      	cimconfig -g traceComponents
787                      	cimconfig -g traceLevel
788                      
789                      ProviderLoadTraceOn:
790                      	cimconfig -s traceComponents=ProvManager,OsAbstraction
791                      	cimconfig -s traceLevel=3 -c
792                      	cimconfig -g traceComponents
793 kumpf           1.1  	cimconfig -g traceLevel
794                      
795                      XML+ProviderLoadTraceOn:
796                      	cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
797                      	cimconfig -s traceLevel=3 -c
798                      	cimconfig -g traceComponents
799                      	cimconfig -g traceLevel
800                      
801 jim.wunderlich  1.43 AllTraceOn: traceon
802                      
803                      AllTraceOff: traceoff
804 kumpf           1.1  
805 jim.wunderlich  1.43 list: tracesettings
806 kumpf           1.1  
807                      
808 kumpf           1.21 # More options...
809 kumpf           1.1  
810 jim.wunderlich  1.40 standardtests: FORCE
811 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
812                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
813                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
814                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
815                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
816                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
817                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
818                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
819 jim.wunderlich  1.40 	@ $(ECHO) "+++++ TestMakefile standardtests complete"
820 kumpf           1.1  
821                      TestNoSecurity:
822                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests
823 kumpf           1.24 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
824 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
825 kumpf           1.1  
826                      TestLocalSecurity:
827 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
828 kumpf           1.1  	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
829                      
830                      TestRemoteSecurity:
831                      	TestClient -user guest -password guest $(system):5988
832                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
833                      
834                      TestAuthorization:
835 kumpf           1.4  	DeleteNamespace -a -user guest -password guest
836 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
837 kumpf           1.4  	TestClient -user guest -password guest $(system):5988
838                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
839 kumpf           1.1  
840                      TestSubscriptions:
841 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
842 kumpf           1.1  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
843                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
844 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
845 david.dillard   1.15 	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
846 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
847 kumpf           1.1  
848                      TestCimmof:
849 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Testcimmof poststarttests
850 kumpf           1.1  
851                      RunTestClientLocal:
852                      	TestClient -local
853                      
854                      DisableSecurity:
855 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
856 kumpf           1.1  	cimconfig -s enableAuthentication=false -p
857                      	cimconfig -s enableNamespaceAuthorization=false -p
858                      
859                      EnableAuthentication:
860 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
861 kumpf           1.1  	cimconfig -s enableAuthentication=true -p
862 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
863                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
864 kumpf           1.1  
865                      EnableAuthorization:
866 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
867 kumpf           1.10 	cimconfig -s enableNamespaceAuthorization=true -p
868 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
869                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
870 kumpf           1.1  
871                      EnableSSL:
872 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
873                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
874 kumpf           1.1  
875                      ConfigureUsers:
876                      ifndef PEGASUS_PAM_AUTHENTICATION
877                      	cimuser -a -u guest -w guest
878                      endif
879                      
880                      ConfigureAuthorizations:
881                      	cimauth -a -u guest -n test/cimv2 -R -W
882                      	cimauth -a -u guest -n root/cimv2 -R -W
883 kumpf           1.10 	cimauth -a -u guest -n root/PG_Internal -R -W
884                      	cimauth -a -u guest -n root/PG_InterOp -R -W
885                      	cimauth -a -u guest -n root/benchmark -R -W
886                      	cimauth -a -u guest -n root/sampleprovider -R -W
887 kumpf           1.1  	cimauth -a -u guest -n test/static -R -W
888                      	cimauth -a -u guest -n root/SampleProvider -R -W
889                      	cimauth -a -u guest -n root -R -W
890                      	cimauth -a -u guest -n test1 -R -W
891                      	cimauth -a -u guest -n test2 -R -W
892                      	cimauth -a -u guest -n test3 -R -W
893                      	cimauth -a -u guest -n test4 -R -W
894                      	cimauth -a -u guest -n test5 -R -W
895                      	cimauth -a -u guest -n test6 -R -W
896                      	cimauth -a -u guest -n test1/test2 -R -W
897                      	cimauth -a -u guest -n test1/test2/test3 -R -W
898                      	cimauth -a -u guest -n test1/test2/test3/test4 -R -W
899                      	cimauth -a -u guest -n test1/test2/test3/test4/test5 -R -W
900                      	cimauth -a -u guest -n test1/test2/test3/test4/test5/test6 -R -W
901                      
902 jim.wunderlich  1.41 startcimWithoutSSL: FORCE
903                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
904 kumpf           1.19 	$(SLEEP) 5
905 kumpf           1.1  
906 jim.wunderlich  1.41 startcimWithSSL: FORCE
907                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=false enableHttpsConnection=true"
908 kumpf           1.19 	$(SLEEP) 5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2