(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 carson.hovey    1.77 # - runs poststarttests suite and benchmarkTest
 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                      	$(TIME_CMD) $(PEGASUS_HOME)/bin/benchmarkTest
 328                      	@ $(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 tony            1.5  ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
 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 mike             1.78.2.1 #ATTN:MEB:
 755 jim.wunderlich   1.34     TestXMLStartServer: FORCE
 756                           	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
 757                           	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_xml
 758                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="repositoryDir=$(PEGASUS_HOME)/repository_xml"
 759                           	$(SLEEP) 5
 760                           
 761                           ####
 762                           #### The following caused the cimserver to fail on startup
 763                           ####
 764                           ####	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinRepository=false repositoryDir=$(PEGASUS_HOME)/repository_xml"
 765                           
 766                           ###########################
 767                           ##
 768                           ## TestXMLBuildRepo
 769                           ##
 770                           TestXMLBuildRepo: FORCE
 771                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 772                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 773                           
 774                           
 775                           ###########################
 776 jim.wunderlich   1.34     ##
 777                           ## TestXMLBuildRepoServ
 778                           ##
 779                           TestXMLBuildRepoServ: TestXMLStartServer
 780                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 781                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 782                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 783                           
 784                           
 785                           ###########################
 786                           ##
 787                           ## TestXMLRepo
 788                           ##
 789 jim.wunderlich   1.40     TestXMLRepo: servertestsclean
 790 jim.wunderlich   1.35     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestXMLStartServer
 791 jim.wunderlich   1.34     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 792                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 793                           
 794                           
 795                           
 796                           
 797                           
 798                           
 799 jim.wunderlich   1.29     ##############################################################################
 800                           ##
 801 jim.wunderlich   1.31     ## TestBinRepository rule is used to run the poststarttests suite on
 802 jim.wunderlich   1.33     ## the Binary Repository built using cimmofl
 803 jim.wunderlich   1.29     ##
 804 jim.wunderlich   1.31     ## TestBinRepositoryServer rule is used to run the poststarttests suite on
 805 jim.wunderlich   1.33     ## the Binary Repository built using cimmof
 806                           ##
 807                           ## TestBinCmpRepository rule is used to run the poststarttest suite on 
 808                           ## the Binry Compressed Repository built using cimmofl
 809 jim.wunderlich   1.29     ##
 810 jim.wunderlich   1.31     
 811                           ############################
 812 jim.wunderlich   1.29     ##
 813 jim.wunderlich   1.31     ## TestBinRepository
 814 jim.wunderlich   1.29     ##
 815 jim.wunderlich   1.33     ### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow
 816                           ### the nightly tests to run
 817                           
 818 jim.wunderlich   1.31     TestBinRepository: TestBinClean TestBinBuildRepo  TestBinRepo
 819 jim.wunderlich   1.33     	@ $(ECHO) TestBinRepository +++++ passed all test
 820 jim.wunderlich   1.36     
 821 jim.wunderlich   1.29     
 822 jim.wunderlich   1.31     ############################
 823                           ##
 824                           ## TestBinRepositoryServer
 825                           ##
 826                           TestBinRepositoryServer: TestBinClean  TestBinBuildRepoServ TestBinRepo
 827 jim.wunderlich   1.33     	@ $(ECHO) TestBinRepositoryServer +++++ passed all test
 828                           
 829                           ############################
 830                           ##
 831                           ## TestBinCmpRepository -  run poststarttest on Compressed BIN Repository
 832                           ##
 833                           ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
 834 jim.wunderlich   1.34     TestBinCmpRepository: FORCE
 835 jim.wunderlich   1.33     	@ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
 836                           	@ $(ECHO) TestBinCmpRepository +++++ passed all test
 837                           else
 838                           
 839                           ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
 840                           
 841 jim.wunderlich   1.34     TestBinCmpRepository: TestBinClean  TestCmpBuild TestBinBuildRepo TestBinRepo TestRegBuild
 842 jim.wunderlich   1.33     	@ $(ECHO) TestBinCmpRepository +++++ passed all test
 843                           else
 844 jim.wunderlich   1.34     TestBinCmpRepository: FORCE
 845 jim.wunderlich   1.33     	@ $(ECHO) TestBinCmpRepository +++++ Not tested 
 846                           	@ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
 847                           	@ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
 848                           endif
 849                           endif
 850                           
 851                           
 852 jim.wunderlich   1.31     ###########################
 853                           ##
 854                           ## TestBinClean
 855                           ##
 856 jim.wunderlich   1.34     TestBinClean: FORCE
 857 jim.wunderlich   1.31     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 858                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
 859 jim.wunderlich   1.29     
 860 jim.wunderlich   1.31     
 861                           ###########################
 862 jim.wunderlich   1.29     ##
 863 jim.wunderlich   1.31     ## TestBinStartServer
 864 jim.wunderlich   1.29     ##
 865 jim.wunderlich   1.34     TestBinStartServer: FORCE
 866 jim.wunderlich   1.30     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
 867 jim.wunderlich   1.31     	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
 868                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
 869 jim.wunderlich   1.29     	$(SLEEP) 5
 870 jim.wunderlich   1.31     
 871                           ###########################
 872 jim.wunderlich   1.29     ##
 873 jim.wunderlich   1.31     ## TestBinBuildRepo
 874 jim.wunderlich   1.29     ##
 875 jim.wunderlich   1.34     TestBinBuildRepo: FORCE
 876 jim.wunderlich   1.29     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 877                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 878 jim.wunderlich   1.31     
 879                           
 880                           ###########################
 881                           ##
 882                           ## TestBinBuildRepoServ
 883                           ##
 884                           TestBinBuildRepoServ: TestBinStartServer
 885                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 886                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 887                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 888                           
 889                           
 890                           ###########################
 891                           ##
 892                           ## TestBinRepo
 893                           ##
 894 jim.wunderlich   1.40     TestBinRepo: servertestsclean 
 895 jim.wunderlich   1.35     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinStartServer
 896 jim.wunderlich   1.29     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 897 jim.wunderlich   1.31     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 898 jim.wunderlich   1.29     
 899                           
 900                           
 901 jim.wunderlich   1.34     
 902                           ############################
 903                           ##
 904                           ## TestCmpBuild - used to compile the repository for compression
 905                           ##
 906                           TestCmpBuild: FORCE
 907                           	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
 908                           	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
 909                           	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
 910                           
 911                           
 912                           ############################
 913                           ##
 914                           ## TestRegBuild - used to compile the repository for no compression
 915                           ##
 916                           TestRegBuild: FORCE
 917                           	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
 918                           	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend 
 919                           	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository 
 920                           
 921                           
 922 nag.boranna      1.27     ###############################################################################
 923 kumpf            1.1      ##
 924                           ## Trace Configuration
 925                           ##
 926 jim.wunderlich   1.43     ## Options: see usagetrace rule
 927                           ##
 928                           ###############################################################################
 929                           
 930                           usagetrace: FORCE
 931                           	$(USAGE)
 932 jim.wunderlich   1.60     	$(USAGE)"TestMakefile Trace Commands: "
 933                           	$(USAGE)"  The cimserver must be running when using W=c which is the default for W"
 934 jim.wunderlich   1.43     	$(USAGE)
 935 jim.wunderlich   1.60     	$(USAGE)" traceon  W=[current/planned(c,p):   Enables all tracing."
 936                           	$(USAGE)" traceoff W=[current/planned(c,p):   Disables all tracing."
 937                           	$(USAGE)" tracesettings:                      Displays all trace settings."
 938                           	$(USAGE)" tracecomp:                          Displays a trace componenets list."
 939                           	$(USAGE)" traceon-CL C=[comp] L=[level(1,2,3,4)] W=[current/planned(c,p): "
 940                           	$(USAGE)"                           Enables tracing on component C at trace level L."
 941                           	$(USAGE)
 942                           	$(USAGE)" W defaults to c in the above commands where W can be specified" 
 943 jim.wunderlich   1.43     	$(USAGE)
 944 jim.wunderlich   1.60     	$(USAGE)"  Usage examples:"
 945                           	$(USAGE)"   traceon       turns on trace in current server config"
 946                           	$(USAGE)"   traceon W=c   turns on trace in current server config"
 947                           	$(USAGE)"   traceon W=p   turns on trace in planned server config"
 948                           	$(USAGE)"   traceoff      turns on trace in current server config"
 949                           	$(USAGE)"   traceoff W=c  turns on trace in current server config"
 950                           	$(USAGE)"   traceoff W=p  turns on trace in planned server config"
 951                           	$(USAGE)
 952                           	$(USAGE)"   traceon-CL C=DiscardedData L=3 W=c"
 953                           	$(USAGE)"     Turns on trace for DiscardedData at level 3 in current server config"
 954                           	$(USAGE)"   traceon-CL C=DiscardedData L=3 W=p"
 955                           	$(USAGE)"     Turns on trace for DiscardedData at level 3 in planned server config"
 956 jim.wunderlich   1.43     	$(USAGE)
 957                           	$(USAGE)
 958                           
 959                           traceon: FORCE
 960 jim.wunderlich   1.60     	@ cimconfig -s traceComponents=ALL -$W 
 961                           	@ cimconfig -s traceLevel=3 -$W
 962                           	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
 963                           
 964 jim.wunderlich   1.43     
 965                           traceoff: FORCE
 966 jim.wunderlich   1.60     	@ cimconfig -s traceComponents=  -$W
 967                           	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
 968 jim.wunderlich   1.43     
 969                           
 970                           tracesettings: FORCE
 971                           	@ $(ECHO) " "
 972 jim.wunderlich   1.60     	cimconfig -g traceComponents -c -p
 973 jim.wunderlich   1.43     	@ $(ECHO) " "
 974 jim.wunderlich   1.60     	cimconfig -g traceLevel -c -p
 975 jim.wunderlich   1.43     	@ $(ECHO) " "
 976 jim.wunderlich   1.60     	cimconfig -g traceFilePath -c -p
 977 jim.wunderlich   1.43     	@ $(ECHO) " "
 978                           
 979                           traceon-CL: FORCE
 980 jim.wunderlich   1.60     	@ cimconfig -s traceComponents=$C -$W
 981                           	@ cimconfig -s traceLevel=$L -$W
 982                           	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
 983 jim.wunderlich   1.43     
 984                           tracecomp: FORCE
 985                           	$(USAGE)
 986                           	$(USAGE)"Trace component list:"
 987                           	$(USAGE)
 988                           	$(USAGE)"Channel"
 989                           	$(USAGE)"XmlParser"
 990                           	$(USAGE)"XmlWriter"
 991                           	$(USAGE)"XmlReader"
 992                           	$(USAGE)"XmlIO"
 993                           	$(USAGE)"Http"
 994                           	$(USAGE)"CimData"
 995                           	$(USAGE)"ProvManager"
 996                           	$(USAGE)"Repository"
 997                           	$(USAGE)"Dispatcher"
 998                           	$(USAGE)"OsAbstraction"
 999                           	$(USAGE)"Config"
1000                           	$(USAGE)"IndDelivery"
1001                           	$(USAGE)"IndHandler"
1002                           	$(USAGE)"Authentication"
1003                           	$(USAGE)"Authorization"
1004 jim.wunderlich   1.43     	$(USAGE)"UserManager"
1005                           	$(USAGE)"SubscriptionService"
1006                           	$(USAGE)"Registration"
1007                           	$(USAGE)"Shutdown"
1008                           	$(USAGE)"Server"
1009                           	$(USAGE)"IndicationService"
1010                           	$(USAGE)"IndicationServiceInternal"
1011                           	$(USAGE)"ConfigurationManager"
1012                           	$(USAGE)"MessageQueueService"
1013                           	$(USAGE)"ProviderManager"
1014                           	$(USAGE)"ObjectResolution"
1015                           	$(USAGE)"WQL"
1016                           	$(USAGE)"CQL"
1017                           	$(USAGE)"Thread"
1018                           	$(USAGE)"MetaDispatcher"
1019                           	$(USAGE)"IPC"
1020                           	$(USAGE)"IndicationHandlerService"
1021                           	$(USAGE)"CIMExportRequestDispatcher"
1022                           	$(USAGE)"Memory"
1023                           	$(USAGE)"SSL"
1024                           	$(USAGE)"ControlProvider"
1025 jim.wunderlich   1.43     	$(USAGE)"AsyncOpNode"
1026                           	$(USAGE)"CIMOMHandle"
1027                           	$(USAGE)"BinaryMessageHandler"
1028                           	$(USAGE)"L10N"
1029                           	$(USAGE)"ExportClient"
1030                           	$(USAGE)"Listener"
1031                           	$(USAGE)"DiscardedData"
1032                           	$(USAGE)"ProviderAgent"
1033                           	$(USAGE)
1034                           
1035                           ###############################################################################
1036                           ##
1037                           ## Trace Configuration - Old rules being deprecated
1038                           ##
1039 kumpf            1.1      ## Options:
1040                           ##      XMLTraceOn: Enables XML request and response tracing.
1041                           ##      ProviderLoadTraceOn: Enables Provider load tracing.
1042                           ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
1043                           ##                                 load tracing.
1044                           ##      AllTraceOn: Enables all tracing.
1045                           ##      AllTraceOff: Disables all tracing.
1046                           ##      list: Lists trace settings.
1047                           ##
1048                           ###############################################################################
1049                           
1050                           XMLTraceOn:
1051                           	cimconfig -s traceComponents=XmlIO -c
1052                           	cimconfig -s traceLevel=3 -c
1053                           	cimconfig -g traceComponents
1054                           	cimconfig -g traceLevel
1055                           
1056                           ProviderLoadTraceOn:
1057                           	cimconfig -s traceComponents=ProvManager,OsAbstraction
1058                           	cimconfig -s traceLevel=3 -c
1059                           	cimconfig -g traceComponents
1060 kumpf            1.1      	cimconfig -g traceLevel
1061                           
1062                           XML+ProviderLoadTraceOn:
1063                           	cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
1064                           	cimconfig -s traceLevel=3 -c
1065                           	cimconfig -g traceComponents
1066                           	cimconfig -g traceLevel
1067                           
1068 jim.wunderlich   1.43     AllTraceOn: traceon
1069                           
1070                           AllTraceOff: traceoff
1071 kumpf            1.1      
1072 jim.wunderlich   1.43     list: tracesettings
1073 kumpf            1.1      
1074 jim.wunderlich   1.55     #########################################################################
1075                           # standardtests
1076                           #
1077                           # More testing options...
1078                           #
1079                           # The standard test seem to contain additional test that may not be able 
1080                           # to run on all platforms so they have been grouped here for now rather than
1081                           # being included in the serversuite rule.
1082                           #
1083                           # The test are:
1084                           #      TestCimmof
1085                           #      TestNoSecurity
1086                           #      TestLocalSecurity
1087                           #      TestRemoteSecurity
1088                           #      TestAuthorization
1089                           #
1090                           # NOTE: The TestsNoSecurity test is comprised of DisableSecurity and
1091                           #       TestNoSecurity.
1092                           #
1093                           # NOTE: The TestNoSecurity step runs the servertests which builds the
1094                           #       the repository that is then left in place for the remaining tests.
1095 jim.wunderlich   1.55     #       The cimof test must be before the TestNosecurity step as it removes
1096                           #       the repository builds a new one with cimmofl and another one with
1097                           #       cimmof and then compares them. 
1098                           #
1099                           # NOTE: The Authentication test is comprised of EnableAuthentication, 
1100                           #       TestLocalSecurity and TestRemoteSecurity. 
1101                           #
1102                           # NOTE: The Authorization test is comprised of EnableAuthorization and
1103                           #       TestAuthorization. 
1104                           #
1105                           # NOTE: The EnableAuthentication and EnableAuthorization steps require 
1106                           #       root access. Pegasus doesn't currently have the infrastructure
1107                           #       in place to run the server as root and run the test as non-root.
1108                           #       Rather than run everything, server, tests, providers, clients etc.
1109                           #       as root many testers prefer to run the tests as non-root. Setting
1110                           #       PEGASUS_DISABLE_PRIVILEGED_TESTS in the environment helps to 
1111                           #       facilitate that.
1112                           #
1113 kumpf            1.1      
1114 jim.wunderlich   1.40     standardtests: FORCE
1115 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
1116                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
1117                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
1118 jim.wunderlich   1.55     ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
1119 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
1120                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
1121                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
1122                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
1123                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
1124 jim.wunderlich   1.53     else
1125 jim.wunderlich   1.55     	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthentication, TestLocalSecurity, and TestRemoteSecurity "
1126 jim.wunderlich   1.53     	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthorization and TestAuthorization "	
1127                           endif
1128 jim.wunderlich   1.40     	@ $(ECHO) "+++++ TestMakefile standardtests complete"
1129 kumpf            1.1      
1130                           TestNoSecurity:
1131 jim.wunderlich   1.56     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile servertests
1132 kumpf            1.24     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1133 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1134 kumpf            1.1      
1135                           TestLocalSecurity:
1136 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1137 kumpf            1.1      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
1138                           
1139                           TestRemoteSecurity:
1140 jim.wunderlich   1.59     	TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1141                           	$(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
1142 kumpf            1.1      
1143                           TestAuthorization:
1144 jim.wunderlich   1.59     	TestPegClientDeleteNamespace -a -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS)
1145 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1146 jim.wunderlich   1.59     	TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1147                           	$(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
1148 kumpf            1.1      
1149                           TestSubscriptions:
1150 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
1151 kumpf            1.1      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
1152                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
1153 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1154 david.dillard    1.15     	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
1155 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
1156 kumpf            1.1      
1157                           TestCimmof:
1158 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Testcimmof poststarttests
1159 kumpf            1.1      
1160                           RunTestClientLocal:
1161                           	TestClient -local
1162                           
1163                           DisableSecurity:
1164 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1165 kumpf            1.1      	cimconfig -s enableAuthentication=false -p
1166                           	cimconfig -s enableNamespaceAuthorization=false -p
1167                           
1168 jim.wunderlich   1.61     EnableUsers:
1169                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1170                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1171                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
1172                           
1173 kumpf            1.1      EnableAuthentication:
1174 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1175 kumpf            1.1      	cimconfig -s enableAuthentication=true -p
1176 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1177                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
1178 kumpf            1.1      
1179                           EnableAuthorization:
1180 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1181 kumpf            1.10     	cimconfig -s enableNamespaceAuthorization=true -p
1182 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1183                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
1184 kumpf            1.1      
1185                           EnableSSL:
1186 kumpf            1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1187                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
1188 kumpf            1.1      
1189 jim.wunderlich   1.61     #
1190                           # ConfigureUsers
1191                           #
1192                           # The server must be running prior to invoking this rule
1193                           #
1194 kumpf            1.1      ConfigureUsers:
1195                           ifndef PEGASUS_PAM_AUTHENTICATION
1196 jim.wunderlich   1.62     	-cimuser -l
1197 jim.wunderlich   1.61     	-cimuser -a -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS)
1198 kumpf            1.1      endif
1199                           
1200 jim.wunderlich   1.61     #
1201                           # ConfigureAuthorizations rule
1202                           #
1203                           # The server must be running prior to invoking this rule
1204                           #
1205 kumpf            1.1      ConfigureAuthorizations:
1206 jim.wunderlich   1.59     	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/cimv2 -R -W
1207                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/cimv2 -R -W
1208                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_Internal -R -W
1209                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_InterOp -R -W
1210                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/benchmark -R -W
1211                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/sampleprovider -R -W
1212                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/static -R -W
1213                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/SampleProvider -R -W
1214                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root -R -W
1215 kumpf            1.65     	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/test/A -R -W
1216                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/test/B -R -W
1217                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/TestProvider -R -W
1218 jim.wunderlich   1.59     	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1 -R -W
1219                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test2 -R -W
1220                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test3 -R -W
1221                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test4 -R -W
1222                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test5 -R -W
1223                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test6 -R -W
1224                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2 -R -W
1225                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3 -R -W
1226                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4 -R -W
1227                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5 -R -W
1228                           	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5/test6 -R -W
1229 kumpf            1.1      
1230 jim.wunderlich   1.41     startcimWithoutSSL: FORCE
1231                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
1232 kumpf            1.19     	$(SLEEP) 5
1233 kumpf            1.1      
1234 jim.wunderlich   1.41     startcimWithSSL: FORCE
1235                           	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=false enableHttpsConnection=true"
1236 kumpf            1.19     	$(SLEEP) 5
1237 j.alex           1.66     

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2