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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2