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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2