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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2