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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2