(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.66 	$(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.66 	$(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 denise.eckstein 1.69 ###############################################################################
 130                      #   mak/certificate_test.mak implements three key functions for
 131                      #   testing Certificate-Based Authentication (CBA).
 132                      #   
 133                      #   setupCBATestCertificates is used to create a set of test certificates
 134                      #       make -f TestMakefile setupCBATestCertificates
 135                      #
 136                      #   runCBATestSuites is used to run a set of CBA tests
 137                      #       make -f TestMakefile runCBATestSuites
 138                      #
 139                      #   cleanupCBATestCertificates can be used to remove the test certificates
 140                      #       make -f TestMakefile cleanupCBATestCertificates
 141                      ###############################################################################
 142                      include $(PEGASUS_ROOT)/mak/certificate_test.mak
 143 jim.wunderlich  1.40 
 144                      ############################################################
 145                      #
 146                      # rules defined here
 147                      #
 148                      ############################################################
 149                      
 150 jim.wunderlich  1.41 ##
 151                      ## Although the macros CIMSERVER_STOP_SERVICE and CIMSERVER_START_SERVICE
 152                      ## are available and could be invoked directly, their direct usage is
 153                      ## discouraged in favor of invoking the cimstop and the cimstart rules
 154                      ## as this allows one place where additional checks, delays etc may be 
 155                      ## added in the future to control or further test the servers performance
 156                      ## in executing these commands.
 157                      ##
 158                      
 159 jim.wunderlich  1.40 #######################
 160                      #
 161                      # doc
 162                      #
 163 kumpf           1.1  doc:
 164 mday            1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/ProviderSpec -f Makefile
 165                      	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/DevManual -f Makefile
 166 kumpf           1.1  
 167 jim.wunderlich  1.40 
 168                      #######################
 169                      #
 170                      # repositoryServer
 171                      #
 172                      repositoryServer: FORCE
 173 kumpf           1.22 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 174 kumpf           1.19 	$(SLEEP) 5
 175 kumpf           1.1  	$(RMDIRHIER) $(REPOSITORY_ROOT)
 176 jim.wunderlich  1.41 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
 177 kumpf           1.19 	$(SLEEP) 5
 178 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer
 179                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer
 180 mday            1.6  
 181 jim.wunderlich  1.40 ######################
 182                      #
 183                      # prestarttests is being deprecated since poststarttest is being deprecated
 184                      # in favor of name more related to its intended functionality. 
 185                      #
 186                      prestarttests: prestarttests_msg shortsleep unittests
 187                      
 188                      prestarttests_msg: FORCE
 189                      	@$(ECHO) "=============================================================================="
 190                      	@$(ECHO) "TestMakefile: The \"prestarttests\" rule is being deprecated."
 191                      	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
 192                      	@$(ECHO) "              The equivalent new rule is \"unittests\"."  
 193                      	@$(ECHO) "              Invoking the \"unittests\" rule now."
 194                      	@$(ECHO) "=============================================================================="
 195                      
 196                      ####################
 197                      #
 198                      # poststarttests is being deprecated since it multiply defines a 
 199                      # recursive make rule leading to ambuguity and confusion.
 200                      #
 201                      poststarttests: poststarttests_msg shortsleep servertests 
 202 jim.wunderlich  1.40 
 203                      poststarttests_msg: FORCE
 204                      	@$(ECHO) "==============================================================================="
 205                      	@$(ECHO) "TestMakefile: The \"posstarttests\" rule is being deprecated.."  
 206                      	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
 207                      	@$(ECHO) "              The equivalent new rule is \"servertests\"."  
 208                      	@$(ECHO) "              Invoking the \"servertests\" rule now."
 209                      	@$(ECHO) "==============================================================================="
 210                      
 211                      #####################
 212                      #
 213                      # tests is being deprecated since it multiply defines a 
 214                      # recursive make rule leading to ambuguity and confusion.
 215                      #
 216                      tests: tests_msg shortsleep alltests
 217                      
 218                      tests_msg: FORCE
 219                      	@$(ECHO) "==================================================================="
 220                      	@$(ECHO) "TestMakefile: The \"tests\" rule is being deprecated."
 221                      	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
 222                      	@$(ECHO) "              The equivalent new rule is \"alltests\"."  
 223 jim.wunderlich  1.40 	@$(ECHO) "              Invoking the \"alltests\" rule now."
 224                      	@$(ECHO) "==================================================================="
 225                      
 226                      
 227                      shortsleep: FORCE
 228                      	@$(SLEEP) 5
 229                      
 230                      ####################
 231                      #
 232                      # unittests
 233                      #
 234                      unittests: FORCE
 235 h.sterling      1.38 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile tests
 236 jim.wunderlich  1.40 	@ $(ECHO) "+++++ TestMakefile unittests complete"
 237                      
 238                      #####################
 239                      #
 240                      # servertests
 241                      #
 242 kumpf           1.1  
 243 jim.wunderlich  1.40 servertestsclean: FORCE
 244 jim.wunderlich  1.41 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 245 lucier          1.17 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/CQL/tests/Queries -f Makefile clean
 246                      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Query/QueryExpression/tests/Queries -f Makefile clean
 247 mday            1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean
 248 jim.wunderlich  1.31 
 249 jim.wunderlich  1.40 servertestssetup: FORCE
 250 denise.eckstein 1.50 ifdef PEGASUS_HAS_SSL
 251 jim.wunderlich  1.61 #
 252                      # The association between user names and certificates is stored in the 
 253                      # repository.  If the repository is recreated, we also need to re-initialize
 254                      # the trust store directories. Otherwise, the truststore content will be 
 255                      # out-of-sync with the mapping stored in the repository.
 256                      #
 257 w.otsuka        1.76 #  NOTE: Tests that require their own test namespaces to run poststarttests
 258                      #  should add their namespace creation make commands to pegasus/Makefile
 259                      #  under the testrepository tag.
 260                      #
 261 denise.eckstein 1.50 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile removeSSLTrustDirectories
 262                      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile createSSLTrustDirectories
 263                      endif
 264 jim.wunderlich  1.40 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
 265                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
 266 denise.eckstein 1.69 	@$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile \
 267                                  cleanupCBATestCertificates
 268                      	@$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile \
 269                                  setupCBATestCertificates
 270 jim.wunderlich  1.41 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstart
 271 kumpf           1.19 	$(SLEEP) 5
 272 jim.wunderlich  1.61 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
 273                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile Create_SSL_Certificate
 274 denise.eckstein 1.73 ifeq ($(PEGASUS_TEST_SDK),true)
 275                      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/SDK/samples -f Makefile setupSDK 
 276                      endif
 277                      
 278 jim.wunderlich  1.61 
 279 jim.wunderlich  1.40 
 280                      servertests: servertestsclean servertestssetup serversuite
 281                      	@ $(ECHO) "+++++ TestMakefile servertests suites complete"
 282                      
 283                      serversuite: FORCE
 284 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests
 285 jim.wunderlich  1.33 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinRepository
 286 w.otsuka        1.76 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_Cimsub_InterOp
 287 kumpf           1.20 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOP_TS1
 288 carolann.graves 1.28 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_IndInit_TS1
 289 carolann.graves 1.67 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS1
 290                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS2
 291 carolann.graves 1.74 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS3
 292 denise.eckstein 1.47 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_INDSSL_TS1
 293 h.sterling      1.37 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SSL_TS1
 294 kumpf           1.46 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_G11N_TS1
 295 denise.eckstein 1.69 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile runCBATestSuites
 296 denise.eckstein 1.73 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SDK_TS1
 297 carolann.graves 1.75 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_ExportClientSSL_TS1
 298 kumpf           1.1  
 299 j.alex          1.66 #####################
 300                      #
 301                      # stresstests
 302                      #
 303                      stresstests:
 304                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_STRESS_TS1
 305                      
 306 jim.wunderlich  1.40 ####################
 307                      #
 308                      # serverquicktests
 309                      #
 310                      serverquicktests: servertestsclean servertestssetup serverquicksuite
 311                      	@ $(ECHO) "+++++ TestMakefile serverquicktests complete"
 312                      
 313                      serverquicksuite: FORCE
 314                      	$(PEGASUS_HOME)/bin/Client
 315                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests
 316 jim.wunderlich  1.45 	$(PEGASUS_HOME)/bin/TestClient
 317                      
 318                      ####################
 319                      #
 320                      # perftests - simple performance test until we have better
 321                      #
 322                      # - Turns statistics on (uses TestInterop until we have better)
 323                      # - runs and times serverquicktests suite 
 324                      # - runs cimperf to displat the statistics
 325                      # - turns statistics off 
 326                      #
 327                      perftests: servertestsclean servertestssetup perfsuite
 328                      
 329                      perfsuite: FORCE
 330                      	$(PEGASUS_HOME)/bin/TestInterop on
 331                      	$(TIME_CMD) $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests
 332                      	@ $(ECHO) " "
 333                      	$(TIME_CMD) $(PEGASUS_HOME)/bin/TestClient
 334                      	@ $(ECHO) " "
 335                      	$(TIME_CMD) $(PEGASUS_HOME)/bin/benchmarkTest
 336                      	@ $(ECHO) " "
 337 jim.wunderlich  1.45 	@ $(ECHO) " "
 338                      	$(TIME_CMD) $(PEGASUS_HOME)/bin/cimperf
 339                      	@ $(ECHO) " "
 340                      	$(PEGASUS_HOME)/bin/TestInterop off
 341                      
 342 jim.wunderlich  1.40 
 343                      ####################
 344                      #
 345                      # alltests
 346                      #
 347                      alltests: unittests servertests
 348 tony            1.5  ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
 349 kumpf           1.22 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 350 mday            1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile uninstall
 351 tony            1.5  endif
 352 jim.wunderlich  1.40 	@ $(ECHO) "+++++ TestMakefile alltests Complete"
 353 kumpf           1.1  
 354                      ###############################################################################
 355 denise.eckstein 1.18 ##  Test Suite Definitions
 356                      ###############################################################################
 357                      
 358                      ###############################################################################
 359                      ##  OOP Test Suite 1: "Out-of-Process"(OOP) Provider Tests 
 360                      ##
 361                      ##  Configuration Options: forceProviderProcesses=true
 362                      ##
 363 jim.wunderlich  1.54 ##  If PEGASUS_DEFAULT_ENABLE_OOP is set, then tests are run with OOP disabled
 364 jim.wunderlich  1.51 ##  since tests have already been run with OOP enabled.
 365                      ##
 366                      ##
 367 denise.eckstein 1.18 ###############################################################################
 368 jim.wunderlich  1.54 ifeq ($(PEGASUS_DEFAULT_ENABLE_OOP),true)
 369 jim.wunderlich  1.52 OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
 370                      else
 371 denise.eckstein 1.18 OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=true
 372 kumpf           1.44 endif
 373 jim.wunderlich  1.51 
 374 denise.eckstein 1.18 OOP_TS1_TEST_CMDS = \
 375 jim.wunderlich  1.51         $(MAKE)@@--directory=$(PEGASUS_ROOT)@@Makefile@@-s@@poststarttests
 376 denise.eckstein 1.18 
 377                      run_OOP_TS1:
 378 denise.eckstein 1.26 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 379 denise.eckstein 1.18             CIMSERVER_CONFIG_OPTIONS="$(OOP_TS1_CONFIG_OPTIONS)" \
 380                                  TESTSUITE_CMDS="$(OOP_TS1_TEST_CMDS)"
 381 jim.wunderlich  1.51 
 382 denise.eckstein 1.18 ###############################################################################
 383                      
 384                      ###############################################################################
 385 carolann.graves 1.28 ##  IndInit Test Suite 1: IndicationService Initialization Tests 
 386                      ##
 387                      ##  Configuration Options: (none)
 388                      ##
 389                      ###############################################################################
 390                      IndInit_TS1_CONFIG_OPTIONS = 
 391                      IndInit_TS1a_TEST_CMDS = \
 392                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1a
 393                      IndInit_TS1b_TEST_CMDS = \
 394                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1b
 395                      
 396                      run_IndInit_TS1:
 397                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 398                                  CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
 399                                  TESTSUITE_CMDS="$(IndInit_TS1a_TEST_CMDS)"
 400                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 401                                  CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
 402                                  TESTSUITE_CMDS="$(IndInit_TS1b_TEST_CMDS)"
 403                      
 404                      ###############################################################################
 405 carolann.graves 1.67 ##  OOPProvFail Test Suite 1: OOP Provider Module Failure Tests
 406                      ##
 407                      ##  Configuration Options: forceProviderProcesses=true
 408                      ##  enableAuthentication=true, enableAuthentication=false
 409                      ##
 410                      ##  NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
 411                      ##  suite is always run with OOP enabled.  This test suite causes a provider to
 412                      ##  exit.  Running this test suite with OOP disabled would cause the cimserver
 413                      ##  to exit and the test suite to fail.
 414                      ##
 415                      ##  NOTE: The test is run once with authentication enabled, and once without
 416                      ##  authentication enabled.
 417                      ##
 418                      ###############################################################################
 419                      OOPProvFail_TS1a_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true
 420                      OOPProvFail_TS1b_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=false
 421                      OOPProvFail_TS1_TEST_CMDS = \
 422                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS1
 423                      
 424 carolann.graves 1.68 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 425 carolann.graves 1.67 run_OOPProvFail_TS1:
 426                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 427                                  CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS1a_CONFIG_OPTIONS)" \
 428                                  TESTSUITE_CMDS="$(OOPProvFail_TS1_TEST_CMDS)"
 429                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 430                                  CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS1b_CONFIG_OPTIONS)" \
 431                                  TESTSUITE_CMDS="$(OOPProvFail_TS1_TEST_CMDS)"
 432 carolann.graves 1.68 else
 433                      run_OOPProvFail_TS1: FORCE
 434                      	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS1"
 435                      endif
 436 carolann.graves 1.67 
 437                      ###############################################################################
 438                      ##  OOPProvFail Test Suite 2: OOP Provider Module Failure on IndicationService 
 439                      ##                            Initialization Tests
 440                      ##
 441                      ##  Configuration Options: forceProviderProcesses=true
 442                      ##                         enableAuthentication=true
 443                      ##
 444                      ##  NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
 445                      ##  suite is always run with OOP enabled.  This test suite causes a provider to
 446                      ##  exit.  Running this test suite with OOP disabled would cause the cimserver
 447                      ##  to exit and the test suite to fail.
 448                      ##
 449                      ###############################################################################
 450                      OOPProvFail_TS2_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true
 451                      OOPProvFail_TS2a_TEST_CMDS = \
 452                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS2a
 453                      OOPProvFail_TS2b_TEST_CMDS = \
 454                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS2b
 455                      
 456 carolann.graves 1.68 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 457 carolann.graves 1.67 run_OOPProvFail_TS2:
 458                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 459                                  CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS2_CONFIG_OPTIONS)" \
 460                                  TESTSUITE_CMDS="$(OOPProvFail_TS2a_TEST_CMDS)"
 461                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 462                                  CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS2_CONFIG_OPTIONS)" \
 463                                  TESTSUITE_CMDS="$(OOPProvFail_TS2b_TEST_CMDS)"
 464 carolann.graves 1.68 else
 465                      run_OOPProvFail_TS2: FORCE
 466                      	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS2"
 467                      endif
 468 carolann.graves 1.67 
 469                      ###############################################################################
 470 carolann.graves 1.74 ##  OOPProvFail Test Suite 3: OOP Provider Module Failure CIM Server restart
 471                      ##                            Tests
 472                      ##
 473                      ##  Configuration Options: forceProviderProcesses=true
 474                      ##                         enableAuthentication=true
 475                      ##
 476                      ##  NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
 477                      ##  suite is always run with OOP enabled.  This test suite causes a provider to
 478                      ##  exit.  Running this test suite with OOP disabled would cause the cimserver
 479                      ##  to exit and the test suite to fail.
 480                      ##
 481                      ###############################################################################
 482                      OOPProvFail_TS3_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true
 483                      OOPProvFail_TS3a_TEST_CMDS = \
 484                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS3a
 485                      OOPProvFail_TS3b_TEST_CMDS = \
 486                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS3b
 487                      
 488                      ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 489                      run_OOPProvFail_TS3:
 490                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 491 carolann.graves 1.74             CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS3_CONFIG_OPTIONS)" \
 492                                  TESTSUITE_CMDS="$(OOPProvFail_TS3a_TEST_CMDS)"
 493                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 494                                  CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS3_CONFIG_OPTIONS)" \
 495                                  TESTSUITE_CMDS="$(OOPProvFail_TS3b_TEST_CMDS)"
 496                      else
 497                      run_OOPProvFail_TS3: FORCE
 498                      	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS3"
 499                      endif
 500                      
 501                      ###############################################################################
 502 denise.eckstein 1.47 ##  Indication SSL Test Suite 1: Indication Testing over HTTPS
 503                      ##
 504                      ##  Configuration Options: (none)
 505                      ##
 506                      ###############################################################################
 507 denise.eckstein 1.50 INDSSL_TS1a_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=false
 508 denise.eckstein 1.47 INDSSL_TS1a_TEST_CMDS = \
 509 denise.eckstein 1.50 	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationDisabled
 510                      
 511                      INDSSL_TS1b_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true sslClientVerificationMode=required
 512 denise.eckstein 1.47 INDSSL_TS1b_TEST_CMDS = \
 513 denise.eckstein 1.50 	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationEnabled
 514                      
 515 denise.eckstein 1.47 
 516                      ifdef PEGASUS_HAS_SSL
 517 jim.wunderlich  1.53 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 518 jim.wunderlich  1.61 run_INDSSL_TS1: EnableUsers Create_SSL_Certificate_ignore
 519 denise.eckstein 1.47 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 520 denise.eckstein 1.50             CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1a_CONFIG_OPTIONS)" \
 521 denise.eckstein 1.47             TESTSUITE_CMDS="$(INDSSL_TS1a_TEST_CMDS)"
 522                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 523 denise.eckstein 1.50             CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1b_CONFIG_OPTIONS)" \
 524 denise.eckstein 1.47             TESTSUITE_CMDS="$(INDSSL_TS1b_TEST_CMDS)"
 525                      else
 526                      run_INDSSL_TS1: FORCE
 527 jim.wunderlich  1.53 	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_INDSSL_TS1"	
 528                      endif
 529                      else
 530                      run_INDSSL_TS1: FORCE
 531                      	@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_INDSSL_TS1"
 532 denise.eckstein 1.47 endif
 533                      
 534                      
 535                      ###############################################################################
 536                       
 537                      ###############################################################################
 538 nag.boranna     1.27 ##  SSL Test Suite 1: SSL Tests
 539                      ##
 540                      ##  Configuration Options: enableAuthentication=true
 541                      ##                         enableHttpsConnection=true
 542                      ##                         sslClientVerificationMode=optional
 543                      ##                         sslTrustStoreUserName=$(CURRENT_USER)
 544                      ##
 545                      ###############################################################################
 546                      SSL_TS1_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true \
 547                             sslClientVerificationMode=optional sslTrustStoreUserName=$(CURRENT_USER)
 548                      SSL_TS1_TEST_CMDS = \
 549 sushma.fernandes 1.71        $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/cimtrust/tests@@SSLCertificateTest1
 550 sushma.fernandes 1.72 SSL_TS2_TEST_CMDS = \
 551                              $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/cimcrl/tests@@SSLCRLTest1
 552 nag.boranna      1.27 
 553 jim.wunderlich   1.39 ifdef PEGASUS_HAS_SSL
 554 jim.wunderlich   1.53 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 555 jim.wunderlich   1.39 run_SSL_TS1: FORCE
 556 nag.boranna      1.27 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 557                                   CIMSERVER_CONFIG_OPTIONS="$(SSL_TS1_CONFIG_OPTIONS)" \
 558                                   TESTSUITE_CMDS="$(SSL_TS1_TEST_CMDS)"
 559 sushma.fernandes 1.72 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 560                                   CIMSERVER_CONFIG_OPTIONS="$(SSL_TS1_CONFIG_OPTIONS)" \
 561                                   TESTSUITE_CMDS="$(SSL_TS2_TEST_CMDS)"
 562 jim.wunderlich   1.39 else
 563                       run_SSL_TS1: FORCE
 564 jim.wunderlich   1.53 	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_SSL_TS1"	
 565                       endif
 566                       else
 567                       run_SSL_TS1: FORCE
 568                       	@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_SSL_TS1 poststarttest"
 569 jim.wunderlich   1.39 
 570                       endif
 571                       
 572 jim.wunderlich   1.61 ############################################################################
 573                       # 
 574                       # Create_SSL_Certificate
 575                       #
 576                       # create a certificate that can be used for certification testing.
 577                       # It is currently used by the following tests:
 578                       #            -run_INDSSL_TS1
 579                       #
 580                       Create_SSL_Certificate_ignore: FORCE
 581                       	-$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile Create_SSL_Certificate
 582                       
 583                       Create_SSL_Certificate: FORCE
 584                       ifdef PEGASUS_HAS_SSL
 585                       ifdef PEGASUS_TEST_USER_DEFINED
 586                       	$(ECHO) "Creating SSL certificate for test"
 587 sushma.fernandes 1.71 	cimtrust -a -U $(PEGASUS_TEST_USER_ID) -f $(PEGASUS_HOME)/server.pem -Ts
 588 jim.wunderlich   1.61 endif
 589                       else
 590                       	$(ECHO) "PEGASUS_HAS_SSL not defined - Not Creating SSL certificate for test"
 591                       endif
 592                       
 593 kumpf            1.46 ###############################################################################
 594                       ##  G11N Test Suite 1: Globalization Tests 
 595                       ##
 596                       ##  Configuration Options: forceProviderProcesses=false
 597                       ##
 598                       ###############################################################################
 599                       G11N_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
 600                       G11N_TS1_TEST_CMDS = \
 601                               $(MAKE) --directory $(PEGASUS_ROOT)/src/Clients/g11ntest \
 602                                   -f Makefile g11ntest
 603                       
 604                       run_G11N_TS1:
 605                       	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 606                                   CIMSERVER_CONFIG_OPTIONS="$(G11N_TS1_CONFIG_OPTIONS)" \
 607                                   TESTSUITE_CMDS="$(G11N_TS1_TEST_CMDS)"
 608 j.alex           1.66 
 609                       ###############################################################################
 610                       ##  Stress Test Suite 1:  Default Stress Tests
 611                       ##
 612                       ##  Configuration Options: (none)
 613                       ##
 614                       ###############################################################################
 615                       STRESS_TS1_CONFIG_OPTIONS =
 616                       STRESS_TS1_TEST_CMDS = \
 617                               TestStressTestController
 618                       
 619                       run_STRESS_TS1:
 620                       	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 621                                   CIMSERVER_CONFIG_OPTIONS="$(STRESS_TS1_CONFIG_OPTIONS)" \
 622                                   TESTSUITE_CMDS="$(STRESS_TS1_TEST_CMDS)"
 623 kumpf            1.46 ###############################################################################
 624                       
 625 denise.eckstein  1.73 ###############################################################################
 626                       ##  SDK Test Suite 1:  SDK Tests
 627                       ##
 628                       ##  Configuration Options: (none)
 629                       ##
 630                       ###############################################################################
 631                       SDK_TS1_CONFIG_OPTIONS =
 632                       SDK_TS1_TEST_CMDS = \
 633                               $(MAKE) --directory $(PEGASUS_ROOT)/src/SDK/samples \
 634                                   -f Makefile testSDK 
 635                       
 636                       ifeq ($(PEGASUS_TEST_SDK),true)
 637                       run_SDK_TS1: FORCE
 638                       	$(MAKE) --directory=$(PEGASUS_ROOT)/mak \
 639                                   -f $(PEGASUS_ROOT)/mak/SDKMakefile stageINCLUDE \
 640                                   PEGASUS_STAGING_DIR=$(PEGASUS_HOME) \
 641                                   PEGASUS_INCLUDE_DIR=/include
 642                       	$(MAKE) --directory=$(PEGASUS_ROOT)/src/SDK/samples \
 643                                   -f Makefile clean
 644                       	$(MAKE) --directory=$(PEGASUS_ROOT)/src/SDK/samples \
 645                                   -f Makefile PEGASUS_INCLUDE_DIR=$(PEGASUS_HOME)/include
 646 denise.eckstein  1.73 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 647                                   CIMSERVER_CONFIG_OPTIONS="$(SDK_TS1_CONFIG_OPTIONS)" \
 648                                   TESTSUITE_CMDS="$(SDK_TS1_TEST_CMDS)"
 649                       else
 650                       run_SDK_TS1: FORCE
 651                       	@ $(ECHO) "+++++ PEGASUS_TEST_SDK is not true: Skipping run_SDK_TS1"	
 652                       endif
 653                       ###############################################################################
 654 jim.wunderlich   1.39 
 655 nag.boranna      1.27 ###############################################################################
 656 carolann.graves  1.75 ##  Export Client SSL Test Suite 1:
 657                       ##
 658                       ##  Configuration Options: enableHttpsConnection=true
 659                       ##
 660                       ###############################################################################
 661                       ExportClientSSL_TS1_CONFIG_OPTIONS = enableHttpsConnection=true
 662                       ExportClientSSL_TS1_TEST_CMDS = \
 663                       	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/ExportClient/tests/ExportClient@@-f@@Makefile@@runExportClientSSL_TS1
 664                       
 665                       ifdef PEGASUS_HAS_SSL
 666                       run_ExportClientSSL_TS1:
 667                       	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 668                                   CIMSERVER_CONFIG_OPTIONS="$(ExportClientSSL_TS1_CONFIG_OPTIONS)" \
 669                                   TESTSUITE_CMDS="$(ExportClientSSL_TS1_TEST_CMDS)"
 670                       else
 671                       run_ExportClientSSL_TS1: FORCE
 672                       	@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_ExportClientSSL_TS1"
 673                       endif
 674                       
 675                       ###############################################################################
 676 nag.boranna      1.27 
 677 jim.wunderlich   1.34 
 678                       
 679 w.otsuka         1.76 ###############################################################################
 680                       ##  cimsub CLI Test Suite 1:  PG_InterOp Tests
 681                       ##
 682                       ##  Configuration Options: (none)
 683                       ##
 684                       ###############################################################################
 685                       CIMSUB_INTEROP_CONFIG_OPTIONS =
 686                       CIMSUB_INTEROP_TEST_CMDS = \
 687                       	$(MAKE) --directory \
 688                                   $(PEGASUS_ROOT)/src/Clients/cimsub/tests/testscriptInterOp \
 689                                   -f Makefile cimsubTest_InterOp
 690                       run_Cimsub_InterOp: FORCE
 691                       	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 692                                   CIMSERVER_CONFIG_OPTIONS="$(CIMSUB_INTEROP_CONFIG_OPTIONS)" \
 693                                   TESTSUITE_CMDS="$(CIMSUB_INTEROP_TEST_CMDS)"
 694                       ###############################################################################
 695                       
 696                       ###############################################################################
 697                       
 698                       
 699                       
 700 jim.wunderlich   1.34 ##############################################################################
 701                       ##
 702                       ## TestXMLRepository rule is used to run the poststarttests suite on
 703                       ## the XML Repository built using cimmofl
 704                       ##
 705                       ## TestXMLRepositoryServer rule is used to run the poststarttests suite on
 706                       ## the XML Repository built using cimmof
 707                       ##
 708                       ## TestXMLCmpRepository rule is used to run the poststarttest suite on 
 709                       ## the XML Compressed Repository built using cimmofl
 710                       ##
 711                       
 712                       ############################
 713                       ##
 714                       ## TestXMLRepository
 715                       ##
 716                       
 717                       TestXMLRepository: TestXMLClean TestXMLBuildRepo  TestXMLRepo
 718                       	@ $(ECHO) TestXMLRepository +++++ passed all test
 719                       
 720                       ############################
 721 jim.wunderlich   1.34 ##
 722                       ## TestXMLRepositoryServer
 723                       ##
 724                       TestXMLRepositoryServer: TestXMLClean  TestXMLBuildRepoServ TestXMLRepo
 725                       	@ $(ECHO) TestXMLRepositoryServer +++++ passed all test
 726                       
 727                       ############################
 728                       ##
 729                       ## TestXMLCmpRepository -  run poststarttest on Compressed BIN Repository
 730                       ##
 731                       ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
 732                       TestXMLCmpRepository: FORCE
 733                       	@ $(ECHO) TestXMLCmpRepository +++++ Repository compressed by default - nothing more to test.
 734                       	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
 735                       else
 736                       
 737                       ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
 738                       
 739                       TestXMLCmpRepository: TestXMLClean  TestCmpBuild TestXMLBuildRepo TestXMLRepo TestRegBuild
 740                       	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
 741                       else
 742 jim.wunderlich   1.34 TestXMLCmpRepository: FORCE
 743                       	@ $(ECHO) TestXMLCmpRepository +++++ Not tested 
 744                       	@ $(ECHO) TestXMLCmpRepository +++++ refer to readme.compressed_repository
 745                       	@ $(ECHO) TestXMLCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
 746                       endif
 747                       endif
 748                       
 749                       ###########################
 750                       ##
 751                       ## TestXMLClean
 752                       ##
 753                       TestXMLClean: FORCE
 754                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 755                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_xml
 756                       
 757                       
 758                       ###########################
 759                       ##
 760                       ## TestXMLStartServer
 761                       ##
 762                       TestXMLStartServer: FORCE
 763 jim.wunderlich   1.34 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
 764                       	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_xml
 765                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="repositoryDir=$(PEGASUS_HOME)/repository_xml"
 766                       	$(SLEEP) 5
 767                       
 768                       ####
 769                       #### The following caused the cimserver to fail on startup
 770                       ####
 771                       ####	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinRepository=false repositoryDir=$(PEGASUS_HOME)/repository_xml"
 772                       
 773                       ###########################
 774                       ##
 775                       ## TestXMLBuildRepo
 776                       ##
 777                       TestXMLBuildRepo: FORCE
 778                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 779                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 780                       
 781                       
 782                       ###########################
 783                       ##
 784 jim.wunderlich   1.34 ## TestXMLBuildRepoServ
 785                       ##
 786                       TestXMLBuildRepoServ: TestXMLStartServer
 787                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 788                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 789                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 790                       
 791                       
 792                       ###########################
 793                       ##
 794                       ## TestXMLRepo
 795                       ##
 796 jim.wunderlich   1.40 TestXMLRepo: servertestsclean
 797 jim.wunderlich   1.35 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestXMLStartServer
 798 jim.wunderlich   1.34 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 799                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 800                       
 801                       
 802                       
 803                       
 804                       
 805                       
 806 jim.wunderlich   1.29 ##############################################################################
 807                       ##
 808 jim.wunderlich   1.31 ## TestBinRepository rule is used to run the poststarttests suite on
 809 jim.wunderlich   1.33 ## the Binary Repository built using cimmofl
 810 jim.wunderlich   1.29 ##
 811 jim.wunderlich   1.31 ## TestBinRepositoryServer rule is used to run the poststarttests suite on
 812 jim.wunderlich   1.33 ## the Binary Repository built using cimmof
 813                       ##
 814                       ## TestBinCmpRepository rule is used to run the poststarttest suite on 
 815                       ## the Binry Compressed Repository built using cimmofl
 816 jim.wunderlich   1.29 ##
 817 jim.wunderlich   1.31 
 818                       ############################
 819 jim.wunderlich   1.29 ##
 820 jim.wunderlich   1.31 ## TestBinRepository
 821 jim.wunderlich   1.29 ##
 822 jim.wunderlich   1.33 ### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow
 823                       ### the nightly tests to run
 824                       
 825 jim.wunderlich   1.31 TestBinRepository: TestBinClean TestBinBuildRepo  TestBinRepo
 826 jim.wunderlich   1.33 	@ $(ECHO) TestBinRepository +++++ passed all test
 827 jim.wunderlich   1.36 
 828 jim.wunderlich   1.29 
 829 jim.wunderlich   1.31 ############################
 830                       ##
 831                       ## TestBinRepositoryServer
 832                       ##
 833                       TestBinRepositoryServer: TestBinClean  TestBinBuildRepoServ TestBinRepo
 834 jim.wunderlich   1.33 	@ $(ECHO) TestBinRepositoryServer +++++ passed all test
 835                       
 836                       ############################
 837                       ##
 838                       ## TestBinCmpRepository -  run poststarttest on Compressed BIN Repository
 839                       ##
 840                       ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
 841 jim.wunderlich   1.34 TestBinCmpRepository: FORCE
 842 jim.wunderlich   1.33 	@ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
 843                       	@ $(ECHO) TestBinCmpRepository +++++ passed all test
 844                       else
 845                       
 846                       ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
 847                       
 848 jim.wunderlich   1.34 TestBinCmpRepository: TestBinClean  TestCmpBuild TestBinBuildRepo TestBinRepo TestRegBuild
 849 jim.wunderlich   1.33 	@ $(ECHO) TestBinCmpRepository +++++ passed all test
 850                       else
 851 jim.wunderlich   1.34 TestBinCmpRepository: FORCE
 852 jim.wunderlich   1.33 	@ $(ECHO) TestBinCmpRepository +++++ Not tested 
 853                       	@ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
 854                       	@ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
 855                       endif
 856                       endif
 857                       
 858                       
 859 jim.wunderlich   1.31 ###########################
 860                       ##
 861                       ## TestBinClean
 862                       ##
 863 jim.wunderlich   1.34 TestBinClean: FORCE
 864 jim.wunderlich   1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 865                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
 866 jim.wunderlich   1.29 
 867 jim.wunderlich   1.31 
 868                       ###########################
 869 jim.wunderlich   1.29 ##
 870 jim.wunderlich   1.31 ## TestBinStartServer
 871 jim.wunderlich   1.29 ##
 872 jim.wunderlich   1.34 TestBinStartServer: FORCE
 873 jim.wunderlich   1.30 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
 874 jim.wunderlich   1.31 	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
 875                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
 876 jim.wunderlich   1.29 	$(SLEEP) 5
 877 jim.wunderlich   1.31 
 878                       ###########################
 879 jim.wunderlich   1.29 ##
 880 jim.wunderlich   1.31 ## TestBinBuildRepo
 881 jim.wunderlich   1.29 ##
 882 jim.wunderlich   1.34 TestBinBuildRepo: FORCE
 883 jim.wunderlich   1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 884                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 885 jim.wunderlich   1.31 
 886                       
 887                       ###########################
 888                       ##
 889                       ## TestBinBuildRepoServ
 890                       ##
 891                       TestBinBuildRepoServ: TestBinStartServer
 892                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 893                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 894                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 895                       
 896                       
 897                       ###########################
 898                       ##
 899                       ## TestBinRepo
 900                       ##
 901 jim.wunderlich   1.40 TestBinRepo: servertestsclean 
 902 jim.wunderlich   1.35 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinStartServer
 903 jim.wunderlich   1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 904 jim.wunderlich   1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 905 jim.wunderlich   1.29 
 906                       
 907                       
 908 jim.wunderlich   1.34 
 909                       ############################
 910                       ##
 911                       ## TestCmpBuild - used to compile the repository for compression
 912                       ##
 913                       TestCmpBuild: FORCE
 914                       	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
 915                       	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
 916                       	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
 917                       
 918                       
 919                       ############################
 920                       ##
 921                       ## TestRegBuild - used to compile the repository for no compression
 922                       ##
 923                       TestRegBuild: FORCE
 924                       	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
 925                       	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend 
 926                       	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository 
 927                       
 928                       
 929 nag.boranna      1.27 ###############################################################################
 930 kumpf            1.1  ##
 931                       ## Trace Configuration
 932                       ##
 933 jim.wunderlich   1.43 ## Options: see usagetrace rule
 934                       ##
 935                       ###############################################################################
 936                       
 937                       usagetrace: FORCE
 938                       	$(USAGE)
 939 jim.wunderlich   1.60 	$(USAGE)"TestMakefile Trace Commands: "
 940                       	$(USAGE)"  The cimserver must be running when using W=c which is the default for W"
 941 jim.wunderlich   1.43 	$(USAGE)
 942 jim.wunderlich   1.60 	$(USAGE)" traceon  W=[current/planned(c,p):   Enables all tracing."
 943                       	$(USAGE)" traceoff W=[current/planned(c,p):   Disables all tracing."
 944                       	$(USAGE)" tracesettings:                      Displays all trace settings."
 945                       	$(USAGE)" tracecomp:                          Displays a trace componenets list."
 946                       	$(USAGE)" traceon-CL C=[comp] L=[level(1,2,3,4)] W=[current/planned(c,p): "
 947                       	$(USAGE)"                           Enables tracing on component C at trace level L."
 948                       	$(USAGE)
 949                       	$(USAGE)" W defaults to c in the above commands where W can be specified" 
 950 jim.wunderlich   1.43 	$(USAGE)
 951 jim.wunderlich   1.60 	$(USAGE)"  Usage examples:"
 952                       	$(USAGE)"   traceon       turns on trace in current server config"
 953                       	$(USAGE)"   traceon W=c   turns on trace in current server config"
 954                       	$(USAGE)"   traceon W=p   turns on trace in planned server config"
 955                       	$(USAGE)"   traceoff      turns on trace in current server config"
 956                       	$(USAGE)"   traceoff W=c  turns on trace in current server config"
 957                       	$(USAGE)"   traceoff W=p  turns on trace in planned server config"
 958                       	$(USAGE)
 959                       	$(USAGE)"   traceon-CL C=DiscardedData L=3 W=c"
 960                       	$(USAGE)"     Turns on trace for DiscardedData at level 3 in current server config"
 961                       	$(USAGE)"   traceon-CL C=DiscardedData L=3 W=p"
 962                       	$(USAGE)"     Turns on trace for DiscardedData at level 3 in planned server config"
 963 jim.wunderlich   1.43 	$(USAGE)
 964                       	$(USAGE)
 965                       
 966                       traceon: FORCE
 967 jim.wunderlich   1.60 	@ cimconfig -s traceComponents=ALL -$W 
 968                       	@ cimconfig -s traceLevel=3 -$W
 969                       	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
 970                       
 971 jim.wunderlich   1.43 
 972                       traceoff: FORCE
 973 jim.wunderlich   1.60 	@ cimconfig -s traceComponents=  -$W
 974                       	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
 975 jim.wunderlich   1.43 
 976                       
 977                       tracesettings: FORCE
 978                       	@ $(ECHO) " "
 979 jim.wunderlich   1.60 	cimconfig -g traceComponents -c -p
 980 jim.wunderlich   1.43 	@ $(ECHO) " "
 981 jim.wunderlich   1.60 	cimconfig -g traceLevel -c -p
 982 jim.wunderlich   1.43 	@ $(ECHO) " "
 983 jim.wunderlich   1.60 	cimconfig -g traceFilePath -c -p
 984 jim.wunderlich   1.43 	@ $(ECHO) " "
 985                       
 986                       traceon-CL: FORCE
 987 jim.wunderlich   1.60 	@ cimconfig -s traceComponents=$C -$W
 988                       	@ cimconfig -s traceLevel=$L -$W
 989                       	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
 990 jim.wunderlich   1.43 
 991                       tracecomp: FORCE
 992                       	$(USAGE)
 993                       	$(USAGE)"Trace component list:"
 994                       	$(USAGE)
 995                       	$(USAGE)"Channel"
 996                       	$(USAGE)"XmlParser"
 997                       	$(USAGE)"XmlWriter"
 998                       	$(USAGE)"XmlReader"
 999                       	$(USAGE)"XmlIO"
1000                       	$(USAGE)"Http"
1001                       	$(USAGE)"CimData"
1002                       	$(USAGE)"ProvManager"
1003                       	$(USAGE)"Repository"
1004                       	$(USAGE)"Dispatcher"
1005                       	$(USAGE)"OsAbstraction"
1006                       	$(USAGE)"Config"
1007                       	$(USAGE)"IndDelivery"
1008                       	$(USAGE)"IndHandler"
1009                       	$(USAGE)"Authentication"
1010                       	$(USAGE)"Authorization"
1011 jim.wunderlich   1.43 	$(USAGE)"UserManager"
1012                       	$(USAGE)"SubscriptionService"
1013                       	$(USAGE)"Registration"
1014                       	$(USAGE)"Shutdown"
1015                       	$(USAGE)"Server"
1016                       	$(USAGE)"IndicationService"
1017                       	$(USAGE)"IndicationServiceInternal"
1018                       	$(USAGE)"ConfigurationManager"
1019                       	$(USAGE)"MessageQueueService"
1020                       	$(USAGE)"ProviderManager"
1021                       	$(USAGE)"ObjectResolution"
1022                       	$(USAGE)"WQL"
1023                       	$(USAGE)"CQL"
1024                       	$(USAGE)"Thread"
1025                       	$(USAGE)"MetaDispatcher"
1026                       	$(USAGE)"IPC"
1027                       	$(USAGE)"IndicationHandlerService"
1028                       	$(USAGE)"CIMExportRequestDispatcher"
1029                       	$(USAGE)"Memory"
1030                       	$(USAGE)"SSL"
1031                       	$(USAGE)"ControlProvider"
1032 jim.wunderlich   1.43 	$(USAGE)"AsyncOpNode"
1033                       	$(USAGE)"CIMOMHandle"
1034                       	$(USAGE)"BinaryMessageHandler"
1035                       	$(USAGE)"L10N"
1036                       	$(USAGE)"ExportClient"
1037                       	$(USAGE)"Listener"
1038                       	$(USAGE)"DiscardedData"
1039                       	$(USAGE)"ProviderAgent"
1040                       	$(USAGE)
1041                       
1042                       ###############################################################################
1043                       ##
1044                       ## Trace Configuration - Old rules being deprecated
1045                       ##
1046 kumpf            1.1  ## Options:
1047                       ##      XMLTraceOn: Enables XML request and response tracing.
1048                       ##      ProviderLoadTraceOn: Enables Provider load tracing.
1049                       ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
1050                       ##                                 load tracing.
1051                       ##      AllTraceOn: Enables all tracing.
1052                       ##      AllTraceOff: Disables all tracing.
1053                       ##      list: Lists trace settings.
1054                       ##
1055                       ###############################################################################
1056                       
1057                       XMLTraceOn:
1058                       	cimconfig -s traceComponents=XmlIO -c
1059                       	cimconfig -s traceLevel=3 -c
1060                       	cimconfig -g traceComponents
1061                       	cimconfig -g traceLevel
1062                       
1063                       ProviderLoadTraceOn:
1064                       	cimconfig -s traceComponents=ProvManager,OsAbstraction
1065                       	cimconfig -s traceLevel=3 -c
1066                       	cimconfig -g traceComponents
1067 kumpf            1.1  	cimconfig -g traceLevel
1068                       
1069                       XML+ProviderLoadTraceOn:
1070                       	cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
1071                       	cimconfig -s traceLevel=3 -c
1072                       	cimconfig -g traceComponents
1073                       	cimconfig -g traceLevel
1074                       
1075 jim.wunderlich   1.43 AllTraceOn: traceon
1076                       
1077                       AllTraceOff: traceoff
1078 kumpf            1.1  
1079 jim.wunderlich   1.43 list: tracesettings
1080 kumpf            1.1  
1081 jim.wunderlich   1.55 #########################################################################
1082                       # standardtests
1083                       #
1084                       # More testing options...
1085                       #
1086                       # The standard test seem to contain additional test that may not be able 
1087                       # to run on all platforms so they have been grouped here for now rather than
1088                       # being included in the serversuite rule.
1089                       #
1090                       # The test are:
1091                       #      TestCimmof
1092                       #      TestNoSecurity
1093                       #      TestLocalSecurity
1094                       #      TestRemoteSecurity
1095                       #      TestAuthorization
1096                       #
1097                       # NOTE: The TestsNoSecurity test is comprised of DisableSecurity and
1098                       #       TestNoSecurity.
1099                       #
1100                       # NOTE: The TestNoSecurity step runs the servertests which builds the
1101                       #       the repository that is then left in place for the remaining tests.
1102 jim.wunderlich   1.55 #       The cimof test must be before the TestNosecurity step as it removes
1103                       #       the repository builds a new one with cimmofl and another one with
1104                       #       cimmof and then compares them. 
1105                       #
1106                       # NOTE: The Authentication test is comprised of EnableAuthentication, 
1107                       #       TestLocalSecurity and TestRemoteSecurity. 
1108                       #
1109                       # NOTE: The Authorization test is comprised of EnableAuthorization and
1110                       #       TestAuthorization. 
1111                       #
1112                       # NOTE: The EnableAuthentication and EnableAuthorization steps require 
1113                       #       root access. Pegasus doesn't currently have the infrastructure
1114                       #       in place to run the server as root and run the test as non-root.
1115                       #       Rather than run everything, server, tests, providers, clients etc.
1116                       #       as root many testers prefer to run the tests as non-root. Setting
1117                       #       PEGASUS_DISABLE_PRIVILEGED_TESTS in the environment helps to 
1118                       #       facilitate that.
1119                       #
1120 kumpf            1.1  
1121 jim.wunderlich   1.40 standardtests: FORCE
1122 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
1123                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
1124                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
1125 jim.wunderlich   1.55 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
1126 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
1127                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
1128                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
1129                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
1130                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
1131 jim.wunderlich   1.53 else
1132 jim.wunderlich   1.55 	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthentication, TestLocalSecurity, and TestRemoteSecurity "
1133 jim.wunderlich   1.53 	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthorization and TestAuthorization "	
1134                       endif
1135 jim.wunderlich   1.40 	@ $(ECHO) "+++++ TestMakefile standardtests complete"
1136 kumpf            1.1  
1137                       TestNoSecurity:
1138 jim.wunderlich   1.56 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile servertests
1139 kumpf            1.24 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1140 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1141 kumpf            1.1  
1142                       TestLocalSecurity:
1143 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1144 kumpf            1.1  	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
1145                       
1146                       TestRemoteSecurity:
1147 jim.wunderlich   1.59 	TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1148                       	$(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
1149 kumpf            1.1  
1150                       TestAuthorization:
1151 jim.wunderlich   1.59 	TestPegClientDeleteNamespace -a -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS)
1152 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1153 jim.wunderlich   1.59 	TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1154                       	$(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
1155 kumpf            1.1  
1156                       TestSubscriptions:
1157 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
1158 kumpf            1.1  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
1159                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
1160 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1161 david.dillard    1.15 	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
1162 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
1163 kumpf            1.1  
1164                       TestCimmof:
1165 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Testcimmof poststarttests
1166 kumpf            1.1  
1167                       RunTestClientLocal:
1168                       	TestClient -local
1169                       
1170                       DisableSecurity:
1171 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1172 kumpf            1.1  	cimconfig -s enableAuthentication=false -p
1173                       	cimconfig -s enableNamespaceAuthorization=false -p
1174                       
1175 jim.wunderlich   1.61 EnableUsers:
1176                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1177                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1178                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
1179                       
1180 kumpf            1.1  EnableAuthentication:
1181 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1182 kumpf            1.1  	cimconfig -s enableAuthentication=true -p
1183 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1184                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
1185 kumpf            1.1  
1186                       EnableAuthorization:
1187 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1188 kumpf            1.10 	cimconfig -s enableNamespaceAuthorization=true -p
1189 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1190                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
1191 kumpf            1.1  
1192                       EnableSSL:
1193 kumpf            1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1194                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
1195 kumpf            1.1  
1196 jim.wunderlich   1.61 #
1197                       # ConfigureUsers
1198                       #
1199                       # The server must be running prior to invoking this rule
1200                       #
1201 kumpf            1.1  ConfigureUsers:
1202                       ifndef PEGASUS_PAM_AUTHENTICATION
1203 jim.wunderlich   1.62 	-cimuser -l
1204 jim.wunderlich   1.61 	-cimuser -a -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS)
1205 kumpf            1.1  endif
1206                       
1207 jim.wunderlich   1.61 #
1208                       # ConfigureAuthorizations rule
1209                       #
1210                       # The server must be running prior to invoking this rule
1211                       #
1212 kumpf            1.1  ConfigureAuthorizations:
1213 jim.wunderlich   1.59 	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/cimv2 -R -W
1214                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/cimv2 -R -W
1215                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_Internal -R -W
1216                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_InterOp -R -W
1217                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/benchmark -R -W
1218                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/sampleprovider -R -W
1219                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/static -R -W
1220                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/SampleProvider -R -W
1221                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root -R -W
1222 kumpf            1.65 	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/test/A -R -W
1223                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/test/B -R -W
1224                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/TestProvider -R -W
1225 jim.wunderlich   1.59 	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1 -R -W
1226                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test2 -R -W
1227                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test3 -R -W
1228                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test4 -R -W
1229                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test5 -R -W
1230                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test6 -R -W
1231                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2 -R -W
1232                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3 -R -W
1233                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4 -R -W
1234                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5 -R -W
1235                       	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5/test6 -R -W
1236 kumpf            1.1  
1237 jim.wunderlich   1.41 startcimWithoutSSL: FORCE
1238                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
1239 kumpf            1.19 	$(SLEEP) 5
1240 kumpf            1.1  
1241 jim.wunderlich   1.41 startcimWithSSL: FORCE
1242                       	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=false enableHttpsConnection=true"
1243 kumpf            1.19 	$(SLEEP) 5
1244 j.alex           1.66 

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2