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

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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2