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

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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2