(file) Return to TestMakefile CVS log (file) (dir) Up to [Pegasus] / pegasus

   1 karl  1.57 #//%2006////////////////////////////////////////////////////////////////////////
   2 martin 1.32 #//
   3             #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
   4             #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
   5             #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
   6             #// IBM Corp.; EMC Corporation, The Open Group.
   7             #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   8             #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   9             #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
  10             #// EMC Corporation; VERITAS Software Corporation; The Open Group.
  11 karl   1.57 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
  12             #// EMC Corporation; Symantec Corporation; The Open Group.
  13 martin 1.32 #//
  14             #// Permission is hereby granted, free of charge, to any person obtaining a copy
  15             #// of this software and associated documentation files (the "Software"), to
  16             #// deal in the Software without restriction, including without limitation the
  17             #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  18             #// sell copies of the Software, and to permit persons to whom the Software is
  19             #// furnished to do so, subject to the following conditions:
  20             #// 
  21             #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
  22             #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
  23             #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
  24             #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  25             #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  26             #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  27             #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  28             #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  29             #//
  30             #//==============================================================================
  31 kumpf  1.1  ###############################################################################
  32             ##
  33             ## Test Makefile for Pegasus CIMOM
  34             ##
  35 jim.wunderlich 1.40 ## see the usage rule for documentation of rules etc.
  36 jim.wunderlich 1.34 ##
  37                     ##
  38 kumpf          1.1  ###############################################################################
  39                     
  40 david.dillard  1.15 error:
  41 jim.wunderlich 1.40 	@ $(ECHO) "Specify desired makefile option (i.e., unittests, usage )"
  42 kumpf          1.1  
  43 kumpf          1.23 include $(PEGASUS_ROOT)/mak/config.mak
  44                     include $(PEGASUS_ROOT)/mak/test.mak
  45                     include $(PEGASUS_ROOT)/mak/commands.mak
  46                     
  47                     system = localhost
  48                     
  49 jim.wunderlich 1.34 .PHONY: FORCE
  50                     
  51                     FORCE:
  52                     
  53 jim.wunderlich 1.40 usage: FORCE
  54                     	$(USAGE)
  55                     	$(USAGE)"TestMakefile Primary Targets:"
  56                     	$(USAGE)
  57                     	$(USAGE)"The following are all standalone tests. They stop and start the server,"
  58                     	$(USAGE)"and build repositories as needed."
  59                     	$(USAGE)
  60                     	$(USAGE)"alltests           - Execute unittests and servertests"
  61                     	$(USAGE)"unittests          - Execute the unit functional tests - no repository"
  62                     	$(USAGE)"                     or active server is required"
  63                     	$(USAGE)"servertests        - Execute a basic server test suites (No security, No SSL)"
  64                     	$(USAGE)"standardtests      - Execute an extended server test suites "
  65                     	$(USAGE)"                     using multiple options."
  66                     	$(USAGE)"serverquicktests   - Executes a brief server test"
  67 jim.wunderlich 1.45 	$(USAGE)"perftests          - Executes a brief server performance test"
  68 jim.wunderlich 1.40 	$(USAGE)
  69                     	$(USAGE)"usage2             - usage on secondary test targets"
  70 jim.wunderlich 1.43 	$(USAGE)"usagetrace         - usage on trace targets"
  71 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                     	$(USAGE)"serverquicksuite        - The collection of test run by the serverquicktests rule"
 103                     	$(USAGE)
 104                     
 105                     
 106                     ##########################################################
 107                     #
 108                     # rules that are defined in Makefile
 109                     #
 110                     ##########################################################
 111 kumpf          1.21 
 112 jim.wunderlich 1.39 build: FORCE
 113                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile build
 114 kumpf          1.21 
 115 jim.wunderlich 1.40 world: FORCE
 116                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile world
 117                     
 118                     new: FORCE
 119                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile new
 120                     
 121 jim.wunderlich 1.39 clean: FORCE
 122 kumpf          1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile clean
 123                     
 124 jim.wunderlich 1.40 depend: FORCE
 125                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile depend
 126                     
 127                     
 128                     ############################################################
 129                     #
 130                     # rules defined here
 131                     #
 132                     ############################################################
 133                     
 134 jim.wunderlich 1.41 ##
 135                     ## Although the macros CIMSERVER_STOP_SERVICE and CIMSERVER_START_SERVICE
 136                     ## are available and could be invoked directly, their direct usage is
 137                     ## discouraged in favor of invoking the cimstop and the cimstart rules
 138                     ## as this allows one place where additional checks, delays etc may be 
 139                     ## added in the future to control or further test the servers performance
 140                     ## in executing these commands.
 141                     ##
 142                     
 143 jim.wunderlich 1.40 #######################
 144                     #
 145                     # doc
 146                     #
 147 kumpf          1.1  doc:
 148 mday           1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/ProviderSpec -f Makefile
 149                     	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/DevManual -f Makefile
 150 kumpf          1.1  
 151 jim.wunderlich 1.40 
 152                     #######################
 153                     #
 154                     # repositoryServer
 155                     #
 156                     repositoryServer: FORCE
 157 kumpf          1.22 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 158 kumpf          1.19 	$(SLEEP) 5
 159 kumpf          1.1  	$(RMDIRHIER) $(REPOSITORY_ROOT)
 160 jim.wunderlich 1.41 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
 161 kumpf          1.19 	$(SLEEP) 5
 162 kumpf          1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer
 163                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer
 164 mday           1.6  
 165 jim.wunderlich 1.40 ######################
 166                     #
 167                     # prestarttests is being deprecated since poststarttest is being deprecated
 168                     # in favor of name more related to its intended functionality. 
 169                     #
 170                     prestarttests: prestarttests_msg shortsleep unittests
 171                     
 172                     prestarttests_msg: FORCE
 173                     	@$(ECHO) "=============================================================================="
 174                     	@$(ECHO) "TestMakefile: The \"prestarttests\" rule is being deprecated."
 175                     	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
 176                     	@$(ECHO) "              The equivalent new rule is \"unittests\"."  
 177                     	@$(ECHO) "              Invoking the \"unittests\" rule now."
 178                     	@$(ECHO) "=============================================================================="
 179                     
 180                     ####################
 181                     #
 182                     # poststarttests is being deprecated since it multiply defines a 
 183                     # recursive make rule leading to ambuguity and confusion.
 184                     #
 185                     poststarttests: poststarttests_msg shortsleep servertests 
 186 jim.wunderlich 1.40 
 187                     poststarttests_msg: FORCE
 188                     	@$(ECHO) "==============================================================================="
 189                     	@$(ECHO) "TestMakefile: The \"posstarttests\" rule is being deprecated.."  
 190                     	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
 191                     	@$(ECHO) "              The equivalent new rule is \"servertests\"."  
 192                     	@$(ECHO) "              Invoking the \"servertests\" rule now."
 193                     	@$(ECHO) "==============================================================================="
 194                     
 195                     #####################
 196                     #
 197                     # tests is being deprecated since it multiply defines a 
 198                     # recursive make rule leading to ambuguity and confusion.
 199                     #
 200                     tests: tests_msg shortsleep alltests
 201                     
 202                     tests_msg: FORCE
 203                     	@$(ECHO) "==================================================================="
 204                     	@$(ECHO) "TestMakefile: The \"tests\" rule is being deprecated."
 205                     	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
 206                     	@$(ECHO) "              The equivalent new rule is \"alltests\"."  
 207 jim.wunderlich 1.40 	@$(ECHO) "              Invoking the \"alltests\" rule now."
 208                     	@$(ECHO) "==================================================================="
 209                     
 210                     
 211                     shortsleep: FORCE
 212                     	@$(SLEEP) 5
 213                     
 214                     ####################
 215                     #
 216                     # unittests
 217                     #
 218                     unittests: FORCE
 219 h.sterling     1.38 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile tests
 220 jim.wunderlich 1.40 	@ $(ECHO) "+++++ TestMakefile unittests complete"
 221                     
 222                     #####################
 223                     #
 224                     # servertests
 225                     #
 226 kumpf          1.1  
 227 jim.wunderlich 1.40 servertestsclean: FORCE
 228 jim.wunderlich 1.41 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 229 lucier         1.17 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/CQL/tests/Queries -f Makefile clean
 230                     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Query/QueryExpression/tests/Queries -f Makefile clean
 231 mday           1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean
 232 jim.wunderlich 1.31 
 233 jim.wunderlich 1.40 servertestssetup: FORCE
 234 denise.eckstein 1.50 ifdef PEGASUS_HAS_SSL
 235 jim.wunderlich  1.61 #
 236                      # The association between user names and certificates is stored in the 
 237                      # repository.  If the repository is recreated, we also need to re-initialize
 238                      # the trust store directories. Otherwise, the truststore content will be 
 239                      # out-of-sync with the mapping stored in the repository.
 240                      #
 241 denise.eckstein 1.50 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile removeSSLTrustDirectories
 242                      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile createSSLTrustDirectories
 243                      endif
 244 jim.wunderlich  1.40 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
 245                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
 246 jim.wunderlich  1.41 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstart
 247 kumpf           1.19 	$(SLEEP) 5
 248 jim.wunderlich  1.61 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
 249                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile Create_SSL_Certificate
 250                      
 251 jim.wunderlich  1.40 
 252                      servertests: servertestsclean servertestssetup serversuite
 253                      	@ $(ECHO) "+++++ TestMakefile servertests suites complete"
 254                      
 255                      serversuite: FORCE
 256 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests
 257 jim.wunderlich  1.33 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinRepository
 258 kumpf           1.20 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOP_TS1
 259 carolann.graves 1.28 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_IndInit_TS1
 260 carolann.graves 1.62.2.1 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS1
 261                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS2
 262 carolann.graves 1.62.2.3 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS3
 263 denise.eckstein 1.47     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_INDSSL_TS1
 264 h.sterling      1.37     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SSL_TS1
 265 kumpf           1.46     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_G11N_TS1
 266 dave.sudlik     1.62.2.4 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout1
 267                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout2
 268 kumpf           1.1      
 269 jim.wunderlich  1.40     ####################
 270                          #
 271                          # serverquicktests
 272                          #
 273                          serverquicktests: servertestsclean servertestssetup serverquicksuite
 274                          	@ $(ECHO) "+++++ TestMakefile serverquicktests complete"
 275                          
 276                          serverquicksuite: FORCE
 277                          	$(PEGASUS_HOME)/bin/Client
 278                          	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests
 279 jim.wunderlich  1.45     	$(PEGASUS_HOME)/bin/TestClient
 280                          
 281                          ####################
 282                          #
 283                          # perftests - simple performance test until we have better
 284                          #
 285                          # - Turns statistics on (uses TestInterop until we have better)
 286                          # - runs and times serverquicktests suite 
 287                          # - runs cimperf to displat the statistics
 288                          # - turns statistics off 
 289                          #
 290                          perftests: servertestsclean servertestssetup perfsuite
 291                          
 292                          perfsuite: FORCE
 293                          	$(PEGASUS_HOME)/bin/TestInterop on
 294                          	$(TIME_CMD) $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests
 295                          	@ $(ECHO) " "
 296                          	$(TIME_CMD) $(PEGASUS_HOME)/bin/TestClient
 297                          	@ $(ECHO) " "
 298                          	$(TIME_CMD) $(PEGASUS_HOME)/bin/benchmarkTest
 299                          	@ $(ECHO) " "
 300 jim.wunderlich  1.45     	@ $(ECHO) " "
 301                          	$(TIME_CMD) $(PEGASUS_HOME)/bin/cimperf
 302                          	@ $(ECHO) " "
 303                          	$(PEGASUS_HOME)/bin/TestInterop off
 304                          
 305 jim.wunderlich  1.40     
 306                          ####################
 307                          #
 308                          # alltests
 309                          #
 310                          alltests: unittests servertests
 311 tony            1.5      ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
 312 kumpf           1.22     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 313 mday            1.6      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile uninstall
 314 tony            1.5      endif
 315 jim.wunderlich  1.40     	@ $(ECHO) "+++++ TestMakefile alltests Complete"
 316 kumpf           1.1      
 317                          ###############################################################################
 318 denise.eckstein 1.18     ##  Test Suite Definitions
 319                          ###############################################################################
 320                          
 321                          ###############################################################################
 322                          ##  OOP Test Suite 1: "Out-of-Process"(OOP) Provider Tests 
 323                          ##
 324                          ##  Configuration Options: forceProviderProcesses=true
 325                          ##
 326 jim.wunderlich  1.54     ##  If PEGASUS_DEFAULT_ENABLE_OOP is set, then tests are run with OOP disabled
 327 jim.wunderlich  1.51     ##  since tests have already been run with OOP enabled.
 328                          ##
 329                          ##
 330 denise.eckstein 1.18     ###############################################################################
 331 jim.wunderlich  1.54     ifeq ($(PEGASUS_DEFAULT_ENABLE_OOP),true)
 332 jim.wunderlich  1.52     OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
 333                          else
 334 denise.eckstein 1.18     OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=true
 335 kumpf           1.44     endif
 336 jim.wunderlich  1.51     
 337 denise.eckstein 1.18     OOP_TS1_TEST_CMDS = \
 338 jim.wunderlich  1.51             $(MAKE)@@--directory=$(PEGASUS_ROOT)@@Makefile@@-s@@poststarttests
 339 denise.eckstein 1.18     
 340                          run_OOP_TS1:
 341 denise.eckstein 1.26     	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 342 denise.eckstein 1.18                 CIMSERVER_CONFIG_OPTIONS="$(OOP_TS1_CONFIG_OPTIONS)" \
 343                                      TESTSUITE_CMDS="$(OOP_TS1_TEST_CMDS)"
 344 jim.wunderlich  1.51     
 345 denise.eckstein 1.18     ###############################################################################
 346                          
 347                          ###############################################################################
 348 carolann.graves 1.28     ##  IndInit Test Suite 1: IndicationService Initialization Tests 
 349                          ##
 350                          ##  Configuration Options: (none)
 351                          ##
 352                          ###############################################################################
 353                          IndInit_TS1_CONFIG_OPTIONS = 
 354                          IndInit_TS1a_TEST_CMDS = \
 355                          	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1a
 356                          IndInit_TS1b_TEST_CMDS = \
 357                          	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1b
 358                          
 359                          run_IndInit_TS1:
 360                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 361                                      CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
 362                                      TESTSUITE_CMDS="$(IndInit_TS1a_TEST_CMDS)"
 363                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 364                                      CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
 365                                      TESTSUITE_CMDS="$(IndInit_TS1b_TEST_CMDS)"
 366                          
 367                          ###############################################################################
 368 carolann.graves 1.62.2.1 ##  OOPProvFail Test Suite 1: OOP Provider Module Failure Tests
 369                          ##
 370                          ##  Configuration Options: forceProviderProcesses=true
 371                          ##  enableAuthentication=true, enableAuthentication=false
 372                          ##
 373                          ##  NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
 374                          ##  suite is always run with OOP enabled.  This test suite causes a provider to
 375                          ##  exit.  Running this test suite with OOP disabled would cause the cimserver
 376                          ##  to exit and the test suite to fail.
 377                          ##
 378                          ##  NOTE: The test is run once with authentication enabled, and once without
 379                          ##  authentication enabled.
 380                          ##
 381                          ###############################################################################
 382                          OOPProvFail_TS1a_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true
 383                          OOPProvFail_TS1b_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=false
 384                          OOPProvFail_TS1_TEST_CMDS = \
 385                          	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS1
 386                          
 387 carolann.graves 1.62.2.2 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 388 carolann.graves 1.62.2.1 run_OOPProvFail_TS1:
 389                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 390                                      CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS1a_CONFIG_OPTIONS)" \
 391                                      TESTSUITE_CMDS="$(OOPProvFail_TS1_TEST_CMDS)"
 392                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 393                                      CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS1b_CONFIG_OPTIONS)" \
 394                                      TESTSUITE_CMDS="$(OOPProvFail_TS1_TEST_CMDS)"
 395 carolann.graves 1.62.2.2 else
 396                          run_OOPProvFail_TS1: FORCE
 397                          	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS1"
 398                          endif
 399 carolann.graves 1.62.2.1 
 400                          ###############################################################################
 401                          ##  OOPProvFail Test Suite 2: OOP Provider Module Failure on IndicationService 
 402                          ##                            Initialization Tests
 403                          ##
 404                          ##  Configuration Options: forceProviderProcesses=true
 405                          ##                         enableAuthentication=true
 406                          ##
 407                          ##  NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
 408                          ##  suite is always run with OOP enabled.  This test suite causes a provider to
 409                          ##  exit.  Running this test suite with OOP disabled would cause the cimserver
 410                          ##  to exit and the test suite to fail.
 411                          ##
 412                          ###############################################################################
 413                          OOPProvFail_TS2_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true
 414                          OOPProvFail_TS2a_TEST_CMDS = \
 415                          	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS2a
 416                          OOPProvFail_TS2b_TEST_CMDS = \
 417                          	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS2b
 418                          
 419 carolann.graves 1.62.2.2 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 420 carolann.graves 1.62.2.1 run_OOPProvFail_TS2:
 421                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 422                                      CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS2_CONFIG_OPTIONS)" \
 423                                      TESTSUITE_CMDS="$(OOPProvFail_TS2a_TEST_CMDS)"
 424                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 425                                      CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS2_CONFIG_OPTIONS)" \
 426                                      TESTSUITE_CMDS="$(OOPProvFail_TS2b_TEST_CMDS)"
 427 carolann.graves 1.62.2.2 else
 428                          run_OOPProvFail_TS2: FORCE
 429                          	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS2"
 430                          endif
 431 carolann.graves 1.62.2.1 
 432                          ###############################################################################
 433 carolann.graves 1.62.2.3 ##  OOPProvFail Test Suite 3: OOP Provider Module Failure CIM Server restart
 434                          ##                            Tests
 435                          ##
 436                          ##  Configuration Options: forceProviderProcesses=true
 437                          ##                         enableAuthentication=true
 438                          ##
 439                          ##  NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
 440                          ##  suite is always run with OOP enabled.  This test suite causes a provider to
 441                          ##  exit.  Running this test suite with OOP disabled would cause the cimserver
 442                          ##  to exit and the test suite to fail.
 443                          ##
 444                          ###############################################################################
 445                          OOPProvFail_TS3_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true
 446                          OOPProvFail_TS3a_TEST_CMDS = \
 447                          	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS3a
 448                          OOPProvFail_TS3b_TEST_CMDS = \
 449                          	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS3b
 450                          
 451                          ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 452                          run_OOPProvFail_TS3:
 453                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 454 carolann.graves 1.62.2.3             CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS3_CONFIG_OPTIONS)" \
 455                                      TESTSUITE_CMDS="$(OOPProvFail_TS3a_TEST_CMDS)"
 456                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 457                                      CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS3_CONFIG_OPTIONS)" \
 458                                      TESTSUITE_CMDS="$(OOPProvFail_TS3b_TEST_CMDS)"
 459                          else
 460                          run_OOPProvFail_TS3: FORCE
 461                          	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS3"
 462                          endif
 463                          
 464                          ###############################################################################
 465 denise.eckstein 1.47     ##  Indication SSL Test Suite 1: Indication Testing over HTTPS
 466                          ##
 467                          ##  Configuration Options: (none)
 468                          ##
 469                          ###############################################################################
 470 denise.eckstein 1.50     INDSSL_TS1a_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=false
 471 denise.eckstein 1.47     INDSSL_TS1a_TEST_CMDS = \
 472 denise.eckstein 1.50     	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationDisabled
 473                          
 474                          INDSSL_TS1b_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true sslClientVerificationMode=required
 475 denise.eckstein 1.47     INDSSL_TS1b_TEST_CMDS = \
 476 denise.eckstein 1.50     	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationEnabled
 477                          
 478 denise.eckstein 1.47     
 479                          ifdef PEGASUS_HAS_SSL
 480 jim.wunderlich  1.53     ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 481 jim.wunderlich  1.61     run_INDSSL_TS1: EnableUsers Create_SSL_Certificate_ignore
 482 denise.eckstein 1.47     	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 483 denise.eckstein 1.50                 CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1a_CONFIG_OPTIONS)" \
 484 denise.eckstein 1.47                 TESTSUITE_CMDS="$(INDSSL_TS1a_TEST_CMDS)"
 485                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 486 denise.eckstein 1.50                 CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1b_CONFIG_OPTIONS)" \
 487 denise.eckstein 1.47                 TESTSUITE_CMDS="$(INDSSL_TS1b_TEST_CMDS)"
 488                          else
 489                          run_INDSSL_TS1: FORCE
 490 jim.wunderlich  1.53     	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_INDSSL_TS1"	
 491                          endif
 492                          else
 493                          run_INDSSL_TS1: FORCE
 494                          	@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_INDSSL_TS1"
 495 denise.eckstein 1.47     endif
 496                          
 497                          
 498                          ###############################################################################
 499                           
 500                          ###############################################################################
 501 nag.boranna     1.27     ##  SSL Test Suite 1: SSL Tests
 502                          ##
 503                          ##  Configuration Options: enableAuthentication=true
 504                          ##                         enableHttpsConnection=true
 505                          ##                         sslClientVerificationMode=optional
 506                          ##                         sslTrustStoreUserName=$(CURRENT_USER)
 507                          ##
 508                          ###############################################################################
 509                          SSL_TS1_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true \
 510                                 sslClientVerificationMode=optional sslTrustStoreUserName=$(CURRENT_USER)
 511                          SSL_TS1_TEST_CMDS = \
 512                                 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/ssltrustmgr/tests@@SSLCertificateTest1
 513                          
 514 jim.wunderlich  1.39     ifdef PEGASUS_HAS_SSL
 515 jim.wunderlich  1.53     ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 516 jim.wunderlich  1.39     run_SSL_TS1: FORCE
 517 nag.boranna     1.27     	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 518                                      CIMSERVER_CONFIG_OPTIONS="$(SSL_TS1_CONFIG_OPTIONS)" \
 519                                      TESTSUITE_CMDS="$(SSL_TS1_TEST_CMDS)"
 520 jim.wunderlich  1.39     else
 521                          run_SSL_TS1: FORCE
 522 jim.wunderlich  1.53     	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_SSL_TS1"	
 523                          endif
 524                          else
 525                          run_SSL_TS1: FORCE
 526                          	@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_SSL_TS1 poststarttest"
 527 jim.wunderlich  1.39     
 528                          endif
 529                          
 530 jim.wunderlich  1.61     ############################################################################
 531                          # 
 532                          # Create_SSL_Certificate
 533                          #
 534                          # create a certificate that can be used for certification testing.
 535                          # It is currently used by the following tests:
 536                          #            -run_INDSSL_TS1
 537                          #
 538                          Create_SSL_Certificate_ignore: FORCE
 539                          	-$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile Create_SSL_Certificate
 540                          
 541                          Create_SSL_Certificate: FORCE
 542                          ifdef PEGASUS_HAS_SSL
 543                          ifdef PEGASUS_TEST_USER_DEFINED
 544                          	$(ECHO) "Creating SSL certificate for test"
 545                          	ssltrustmgr -a -c $(PEGASUS_TEST_USER_ID) -f $(PEGASUS_HOME)/server.pem
 546                          endif
 547                          else
 548                          	$(ECHO) "PEGASUS_HAS_SSL not defined - Not Creating SSL certificate for test"
 549                          endif
 550                          
 551 kumpf           1.46     ###############################################################################
 552                          ##  G11N Test Suite 1: Globalization Tests 
 553                          ##
 554                          ##  Configuration Options: forceProviderProcesses=false
 555                          ##
 556                          ###############################################################################
 557                          G11N_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
 558                          G11N_TS1_TEST_CMDS = \
 559                                  $(MAKE) --directory $(PEGASUS_ROOT)/src/Clients/g11ntest \
 560                                      -f Makefile g11ntest
 561                          
 562                          run_G11N_TS1:
 563                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 564                                      CIMSERVER_CONFIG_OPTIONS="$(G11N_TS1_CONFIG_OPTIONS)" \
 565                                      TESTSUITE_CMDS="$(G11N_TS1_TEST_CMDS)"
 566                          ###############################################################################
 567                          
 568 jim.wunderlich  1.39     
 569 nag.boranna     1.27     ###############################################################################
 570 dave.sudlik     1.62.2.4 ##  idleConnectionTimeout Test Suite 1:  uses ChunkingStressProvider Tests
 571                          ##
 572                          ##  Configuration Options: idleConnectionTime=55
 573                          ##
 574                          ###############################################################################
 575                          IDLE_CONNECTION_TIMEOUT_1_CONFIG_OPTIONS = idleConnectionTimeout=55
 576                          IDLE_CONNECTION_TIMEOUT_1_TEST_CMDS = \
 577                          	$(MAKE)@@--directory \
 578                                      $(PEGASUS_ROOT)/src/Providers/TestProviders/ChunkingStressProvider/testclient \
 579                                      -f@@Makefile@@poststarttests
 580                          run_idleConnectionTimeout1: FORCE
 581                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 582                                      CIMSERVER_CONFIG_OPTIONS="$(IDLE_CONNECTION_TIMEOUT_1_CONFIG_OPTIONS)" \
 583                                      TESTSUITE_CMDS="$(IDLE_CONNECTION_TIMEOUT_1_TEST_CMDS)"
 584                          ###############################################################################
 585                          
 586                          
 587                          ###############################################################################
 588                          ##  idleConnectionTimeout Test Suite 2:  uses IdleConnectionTimeout client test
 589                          ##
 590                          ##  Configuration Options: idleConnectionTime=6
 591 dave.sudlik     1.62.2.4 ##
 592                          ###############################################################################
 593                          IDLE_CONNECTION_TIMEOUT_2_CONFIG_OPTIONS = idleConnectionTimeout=6
 594                          IDLE_CONNECTION_TIMEOUT_2_TEST_CMDS = \
 595                          	$(MAKE)@@--directory \
 596                                      $(PEGASUS_ROOT)/src/Pegasus/Client/tests/IdleConnectionTimeout/ \
 597                                      -f@@Makefile@@timeoutTest@@IDLETIME=10
 598                          run_idleConnectionTimeout2: FORCE
 599                          	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 600                                      CIMSERVER_CONFIG_OPTIONS="$(IDLE_CONNECTION_TIMEOUT_2_CONFIG_OPTIONS)" \
 601                                      TESTSUITE_CMDS="$(IDLE_CONNECTION_TIMEOUT_2_TEST_CMDS)"
 602                          ###############################################################################
 603                          
 604                          
 605                          ###############################################################################
 606 nag.boranna     1.27     
 607 jim.wunderlich  1.34     
 608                          
 609                          ##############################################################################
 610                          ##
 611                          ## TestXMLRepository rule is used to run the poststarttests suite on
 612                          ## the XML Repository built using cimmofl
 613                          ##
 614                          ## TestXMLRepositoryServer rule is used to run the poststarttests suite on
 615                          ## the XML Repository built using cimmof
 616                          ##
 617                          ## TestXMLCmpRepository rule is used to run the poststarttest suite on 
 618                          ## the XML Compressed Repository built using cimmofl
 619                          ##
 620                          
 621                          ############################
 622                          ##
 623                          ## TestXMLRepository
 624                          ##
 625                          
 626                          TestXMLRepository: TestXMLClean TestXMLBuildRepo  TestXMLRepo
 627                          	@ $(ECHO) TestXMLRepository +++++ passed all test
 628 jim.wunderlich  1.34     
 629                          ############################
 630                          ##
 631                          ## TestXMLRepositoryServer
 632                          ##
 633                          TestXMLRepositoryServer: TestXMLClean  TestXMLBuildRepoServ TestXMLRepo
 634                          	@ $(ECHO) TestXMLRepositoryServer +++++ passed all test
 635                          
 636                          ############################
 637                          ##
 638                          ## TestXMLCmpRepository -  run poststarttest on Compressed BIN Repository
 639                          ##
 640                          ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
 641                          TestXMLCmpRepository: FORCE
 642                          	@ $(ECHO) TestXMLCmpRepository +++++ Repository compressed by default - nothing more to test.
 643                          	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
 644                          else
 645                          
 646                          ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
 647                          
 648                          TestXMLCmpRepository: TestXMLClean  TestCmpBuild TestXMLBuildRepo TestXMLRepo TestRegBuild
 649 jim.wunderlich  1.34     	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
 650                          else
 651                          TestXMLCmpRepository: FORCE
 652                          	@ $(ECHO) TestXMLCmpRepository +++++ Not tested 
 653                          	@ $(ECHO) TestXMLCmpRepository +++++ refer to readme.compressed_repository
 654                          	@ $(ECHO) TestXMLCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
 655                          endif
 656                          endif
 657                          
 658                          ###########################
 659                          ##
 660                          ## TestXMLClean
 661                          ##
 662                          TestXMLClean: FORCE
 663                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 664                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_xml
 665                          
 666                          
 667                          ###########################
 668                          ##
 669                          ## TestXMLStartServer
 670 jim.wunderlich  1.34     ##
 671                          TestXMLStartServer: FORCE
 672                          	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
 673                          	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_xml
 674                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="repositoryDir=$(PEGASUS_HOME)/repository_xml"
 675                          	$(SLEEP) 5
 676                          
 677                          ####
 678                          #### The following caused the cimserver to fail on startup
 679                          ####
 680                          ####	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinRepository=false repositoryDir=$(PEGASUS_HOME)/repository_xml"
 681                          
 682                          ###########################
 683                          ##
 684                          ## TestXMLBuildRepo
 685                          ##
 686                          TestXMLBuildRepo: FORCE
 687                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 688                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 689                          
 690                          
 691 jim.wunderlich  1.34     ###########################
 692                          ##
 693                          ## TestXMLBuildRepoServ
 694                          ##
 695                          TestXMLBuildRepoServ: TestXMLStartServer
 696                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 697                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 698                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 699                          
 700                          
 701                          ###########################
 702                          ##
 703                          ## TestXMLRepo
 704                          ##
 705 jim.wunderlich  1.40     TestXMLRepo: servertestsclean
 706 jim.wunderlich  1.35     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestXMLStartServer
 707 jim.wunderlich  1.34     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 708                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 709                          
 710                          
 711                          
 712                          
 713                          
 714                          
 715 jim.wunderlich  1.29     ##############################################################################
 716                          ##
 717 jim.wunderlich  1.31     ## TestBinRepository rule is used to run the poststarttests suite on
 718 jim.wunderlich  1.33     ## the Binary Repository built using cimmofl
 719 jim.wunderlich  1.29     ##
 720 jim.wunderlich  1.31     ## TestBinRepositoryServer rule is used to run the poststarttests suite on
 721 jim.wunderlich  1.33     ## the Binary Repository built using cimmof
 722                          ##
 723                          ## TestBinCmpRepository rule is used to run the poststarttest suite on 
 724                          ## the Binry Compressed Repository built using cimmofl
 725 jim.wunderlich  1.29     ##
 726 jim.wunderlich  1.31     
 727                          ############################
 728 jim.wunderlich  1.29     ##
 729 jim.wunderlich  1.31     ## TestBinRepository
 730 jim.wunderlich  1.29     ##
 731 jim.wunderlich  1.33     ### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow
 732                          ### the nightly tests to run
 733                          
 734 jim.wunderlich  1.31     TestBinRepository: TestBinClean TestBinBuildRepo  TestBinRepo
 735 jim.wunderlich  1.33     	@ $(ECHO) TestBinRepository +++++ passed all test
 736 jim.wunderlich  1.36     
 737 jim.wunderlich  1.29     
 738 jim.wunderlich  1.31     ############################
 739                          ##
 740                          ## TestBinRepositoryServer
 741                          ##
 742                          TestBinRepositoryServer: TestBinClean  TestBinBuildRepoServ TestBinRepo
 743 jim.wunderlich  1.33     	@ $(ECHO) TestBinRepositoryServer +++++ passed all test
 744                          
 745                          ############################
 746                          ##
 747                          ## TestBinCmpRepository -  run poststarttest on Compressed BIN Repository
 748                          ##
 749                          ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
 750 jim.wunderlich  1.34     TestBinCmpRepository: FORCE
 751 jim.wunderlich  1.33     	@ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
 752                          	@ $(ECHO) TestBinCmpRepository +++++ passed all test
 753                          else
 754                          
 755                          ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
 756                          
 757 jim.wunderlich  1.34     TestBinCmpRepository: TestBinClean  TestCmpBuild TestBinBuildRepo TestBinRepo TestRegBuild
 758 jim.wunderlich  1.33     	@ $(ECHO) TestBinCmpRepository +++++ passed all test
 759                          else
 760 jim.wunderlich  1.34     TestBinCmpRepository: FORCE
 761 jim.wunderlich  1.33     	@ $(ECHO) TestBinCmpRepository +++++ Not tested 
 762                          	@ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
 763                          	@ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
 764                          endif
 765                          endif
 766                          
 767                          
 768 jim.wunderlich  1.31     ###########################
 769                          ##
 770                          ## TestBinClean
 771                          ##
 772 jim.wunderlich  1.34     TestBinClean: FORCE
 773 jim.wunderlich  1.31     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 774                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
 775 jim.wunderlich  1.29     
 776 jim.wunderlich  1.31     
 777                          ###########################
 778 jim.wunderlich  1.29     ##
 779 jim.wunderlich  1.31     ## TestBinStartServer
 780 jim.wunderlich  1.29     ##
 781 jim.wunderlich  1.34     TestBinStartServer: FORCE
 782 jim.wunderlich  1.30     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
 783 jim.wunderlich  1.31     	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
 784                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
 785 jim.wunderlich  1.29     	$(SLEEP) 5
 786 jim.wunderlich  1.31     
 787                          ###########################
 788 jim.wunderlich  1.29     ##
 789 jim.wunderlich  1.31     ## TestBinBuildRepo
 790 jim.wunderlich  1.29     ##
 791 jim.wunderlich  1.34     TestBinBuildRepo: FORCE
 792 jim.wunderlich  1.29     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 793                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 794 jim.wunderlich  1.31     
 795                          
 796                          ###########################
 797                          ##
 798                          ## TestBinBuildRepoServ
 799                          ##
 800                          TestBinBuildRepoServ: TestBinStartServer
 801                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 802                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 803                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 804                          
 805                          
 806                          ###########################
 807                          ##
 808                          ## TestBinRepo
 809                          ##
 810 jim.wunderlich  1.40     TestBinRepo: servertestsclean 
 811 jim.wunderlich  1.35     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinStartServer
 812 jim.wunderlich  1.29     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
 813 jim.wunderlich  1.31     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
 814 jim.wunderlich  1.29     
 815                          
 816                          
 817 jim.wunderlich  1.34     
 818                          ############################
 819                          ##
 820                          ## TestCmpBuild - used to compile the repository for compression
 821                          ##
 822                          TestCmpBuild: FORCE
 823                          	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
 824                          	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
 825                          	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
 826                          
 827                          
 828                          ############################
 829                          ##
 830                          ## TestRegBuild - used to compile the repository for no compression
 831                          ##
 832                          TestRegBuild: FORCE
 833                          	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
 834                          	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend 
 835                          	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository 
 836                          
 837                          
 838 nag.boranna     1.27     ###############################################################################
 839 kumpf           1.1      ##
 840                          ## Trace Configuration
 841                          ##
 842 jim.wunderlich  1.43     ## Options: see usagetrace rule
 843                          ##
 844                          ###############################################################################
 845                          
 846                          usagetrace: FORCE
 847                          	$(USAGE)
 848 jim.wunderlich  1.60     	$(USAGE)"TestMakefile Trace Commands: "
 849                          	$(USAGE)"  The cimserver must be running when using W=c which is the default for W"
 850 jim.wunderlich  1.43     	$(USAGE)
 851 jim.wunderlich  1.60     	$(USAGE)" traceon  W=[current/planned(c,p):   Enables all tracing."
 852                          	$(USAGE)" traceoff W=[current/planned(c,p):   Disables all tracing."
 853                          	$(USAGE)" tracesettings:                      Displays all trace settings."
 854                          	$(USAGE)" tracecomp:                          Displays a trace componenets list."
 855                          	$(USAGE)" traceon-CL C=[comp] L=[level(1,2,3,4)] W=[current/planned(c,p): "
 856                          	$(USAGE)"                           Enables tracing on component C at trace level L."
 857                          	$(USAGE)
 858                          	$(USAGE)" W defaults to c in the above commands where W can be specified" 
 859 jim.wunderlich  1.43     	$(USAGE)
 860 jim.wunderlich  1.60     	$(USAGE)"  Usage examples:"
 861                          	$(USAGE)"   traceon       turns on trace in current server config"
 862                          	$(USAGE)"   traceon W=c   turns on trace in current server config"
 863                          	$(USAGE)"   traceon W=p   turns on trace in planned server config"
 864                          	$(USAGE)"   traceoff      turns on trace in current server config"
 865                          	$(USAGE)"   traceoff W=c  turns on trace in current server config"
 866                          	$(USAGE)"   traceoff W=p  turns on trace in planned server config"
 867                          	$(USAGE)
 868                          	$(USAGE)"   traceon-CL C=DiscardedData L=3 W=c"
 869                          	$(USAGE)"     Turns on trace for DiscardedData at level 3 in current server config"
 870                          	$(USAGE)"   traceon-CL C=DiscardedData L=3 W=p"
 871                          	$(USAGE)"     Turns on trace for DiscardedData at level 3 in planned server config"
 872 jim.wunderlich  1.43     	$(USAGE)
 873                          	$(USAGE)
 874                          
 875                          traceon: FORCE
 876 jim.wunderlich  1.60     	@ cimconfig -s traceComponents=ALL -$W 
 877                          	@ cimconfig -s traceLevel=3 -$W
 878                          	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
 879                          
 880 jim.wunderlich  1.43     
 881                          traceoff: FORCE
 882 jim.wunderlich  1.60     	@ cimconfig -s traceComponents=  -$W
 883                          	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
 884 jim.wunderlich  1.43     
 885                          
 886                          tracesettings: FORCE
 887                          	@ $(ECHO) " "
 888 jim.wunderlich  1.60     	cimconfig -g traceComponents -c -p
 889 jim.wunderlich  1.43     	@ $(ECHO) " "
 890 jim.wunderlich  1.60     	cimconfig -g traceLevel -c -p
 891 jim.wunderlich  1.43     	@ $(ECHO) " "
 892 jim.wunderlich  1.60     	cimconfig -g traceFilePath -c -p
 893 jim.wunderlich  1.43     	@ $(ECHO) " "
 894                          
 895                          traceon-CL: FORCE
 896 jim.wunderlich  1.60     	@ cimconfig -s traceComponents=$C -$W
 897                          	@ cimconfig -s traceLevel=$L -$W
 898                          	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
 899 jim.wunderlich  1.43     
 900                          tracecomp: FORCE
 901                          	$(USAGE)
 902                          	$(USAGE)"Trace component list:"
 903                          	$(USAGE)
 904                          	$(USAGE)"Channel"
 905                          	$(USAGE)"XmlParser"
 906                          	$(USAGE)"XmlWriter"
 907                          	$(USAGE)"XmlReader"
 908                          	$(USAGE)"XmlIO"
 909                          	$(USAGE)"Http"
 910                          	$(USAGE)"CimData"
 911                          	$(USAGE)"ProvManager"
 912                          	$(USAGE)"Repository"
 913                          	$(USAGE)"Dispatcher"
 914                          	$(USAGE)"OsAbstraction"
 915                          	$(USAGE)"Config"
 916                          	$(USAGE)"IndDelivery"
 917                          	$(USAGE)"IndHandler"
 918                          	$(USAGE)"Authentication"
 919                          	$(USAGE)"Authorization"
 920 jim.wunderlich  1.43     	$(USAGE)"UserManager"
 921                          	$(USAGE)"SubscriptionService"
 922                          	$(USAGE)"Registration"
 923                          	$(USAGE)"Shutdown"
 924                          	$(USAGE)"Server"
 925                          	$(USAGE)"IndicationService"
 926                          	$(USAGE)"IndicationServiceInternal"
 927                          	$(USAGE)"ConfigurationManager"
 928                          	$(USAGE)"MessageQueueService"
 929                          	$(USAGE)"ProviderManager"
 930                          	$(USAGE)"ObjectResolution"
 931                          	$(USAGE)"WQL"
 932                          	$(USAGE)"CQL"
 933                          	$(USAGE)"Thread"
 934                          	$(USAGE)"MetaDispatcher"
 935                          	$(USAGE)"IPC"
 936                          	$(USAGE)"IndicationHandlerService"
 937                          	$(USAGE)"CIMExportRequestDispatcher"
 938                          	$(USAGE)"Memory"
 939                          	$(USAGE)"SSL"
 940                          	$(USAGE)"ControlProvider"
 941 jim.wunderlich  1.43     	$(USAGE)"AsyncOpNode"
 942                          	$(USAGE)"CIMOMHandle"
 943                          	$(USAGE)"BinaryMessageHandler"
 944                          	$(USAGE)"L10N"
 945                          	$(USAGE)"ExportClient"
 946                          	$(USAGE)"Listener"
 947                          	$(USAGE)"DiscardedData"
 948                          	$(USAGE)"ProviderAgent"
 949                          	$(USAGE)
 950                          
 951                          ###############################################################################
 952                          ##
 953                          ## Trace Configuration - Old rules being deprecated
 954                          ##
 955 kumpf           1.1      ## Options:
 956                          ##      XMLTraceOn: Enables XML request and response tracing.
 957                          ##      ProviderLoadTraceOn: Enables Provider load tracing.
 958                          ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
 959                          ##                                 load tracing.
 960                          ##      AllTraceOn: Enables all tracing.
 961                          ##      AllTraceOff: Disables all tracing.
 962                          ##      list: Lists trace settings.
 963                          ##
 964                          ###############################################################################
 965                          
 966                          XMLTraceOn:
 967                          	cimconfig -s traceComponents=XmlIO -c
 968                          	cimconfig -s traceLevel=3 -c
 969                          	cimconfig -g traceComponents
 970                          	cimconfig -g traceLevel
 971                          
 972                          ProviderLoadTraceOn:
 973                          	cimconfig -s traceComponents=ProvManager,OsAbstraction
 974                          	cimconfig -s traceLevel=3 -c
 975                          	cimconfig -g traceComponents
 976 kumpf           1.1      	cimconfig -g traceLevel
 977                          
 978                          XML+ProviderLoadTraceOn:
 979                          	cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
 980                          	cimconfig -s traceLevel=3 -c
 981                          	cimconfig -g traceComponents
 982                          	cimconfig -g traceLevel
 983                          
 984 jim.wunderlich  1.43     AllTraceOn: traceon
 985                          
 986                          AllTraceOff: traceoff
 987 kumpf           1.1      
 988 jim.wunderlich  1.43     list: tracesettings
 989 kumpf           1.1      
 990 jim.wunderlich  1.55     #########################################################################
 991                          # standardtests
 992                          #
 993                          # More testing options...
 994                          #
 995                          # The standard test seem to contain additional test that may not be able 
 996                          # to run on all platforms so they have been grouped here for now rather than
 997                          # being included in the serversuite rule.
 998                          #
 999                          # The test are:
1000                          #      TestCimmof
1001                          #      TestNoSecurity
1002                          #      TestLocalSecurity
1003                          #      TestRemoteSecurity
1004                          #      TestAuthorization
1005                          #
1006                          # NOTE: The TestsNoSecurity test is comprised of DisableSecurity and
1007                          #       TestNoSecurity.
1008                          #
1009                          # NOTE: The TestNoSecurity step runs the servertests which builds the
1010                          #       the repository that is then left in place for the remaining tests.
1011 jim.wunderlich  1.55     #       The cimof test must be before the TestNosecurity step as it removes
1012                          #       the repository builds a new one with cimmofl and another one with
1013                          #       cimmof and then compares them. 
1014                          #
1015                          # NOTE: The Authentication test is comprised of EnableAuthentication, 
1016                          #       TestLocalSecurity and TestRemoteSecurity. 
1017                          #
1018                          # NOTE: The Authorization test is comprised of EnableAuthorization and
1019                          #       TestAuthorization. 
1020                          #
1021                          # NOTE: The EnableAuthentication and EnableAuthorization steps require 
1022                          #       root access. Pegasus doesn't currently have the infrastructure
1023                          #       in place to run the server as root and run the test as non-root.
1024                          #       Rather than run everything, server, tests, providers, clients etc.
1025                          #       as root many testers prefer to run the tests as non-root. Setting
1026                          #       PEGASUS_DISABLE_PRIVILEGED_TESTS in the environment helps to 
1027                          #       facilitate that.
1028                          #
1029 kumpf           1.1      
1030 jim.wunderlich  1.40     standardtests: FORCE
1031 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
1032                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
1033                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
1034 jim.wunderlich  1.55     ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
1035 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
1036                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
1037                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
1038                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
1039                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
1040 jim.wunderlich  1.53     else
1041 jim.wunderlich  1.55     	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthentication, TestLocalSecurity, and TestRemoteSecurity "
1042 jim.wunderlich  1.53     	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthorization and TestAuthorization "	
1043                          endif
1044 jim.wunderlich  1.40     	@ $(ECHO) "+++++ TestMakefile standardtests complete"
1045 kumpf           1.1      
1046                          TestNoSecurity:
1047 jim.wunderlich  1.56     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile servertests
1048 kumpf           1.24     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1049 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1050 kumpf           1.1      
1051                          TestLocalSecurity:
1052 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1053 kumpf           1.1      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
1054                          
1055                          TestRemoteSecurity:
1056 jim.wunderlich  1.59     	TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1057                          	$(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
1058 kumpf           1.1      
1059                          TestAuthorization:
1060 jim.wunderlich  1.59     	TestPegClientDeleteNamespace -a -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS)
1061 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1062 jim.wunderlich  1.59     	TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1063                          	$(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
1064 kumpf           1.1      
1065                          TestSubscriptions:
1066 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
1067 kumpf           1.1      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
1068                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
1069 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1070 david.dillard   1.15     	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
1071 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
1072 kumpf           1.1      
1073                          TestCimmof:
1074 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Testcimmof poststarttests
1075 kumpf           1.1      
1076                          RunTestClientLocal:
1077                          	TestClient -local
1078                          
1079                          DisableSecurity:
1080 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1081 kumpf           1.1      	cimconfig -s enableAuthentication=false -p
1082                          	cimconfig -s enableNamespaceAuthorization=false -p
1083                          
1084 jim.wunderlich  1.61     EnableUsers:
1085                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1086                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1087                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
1088                          
1089 kumpf           1.1      EnableAuthentication:
1090 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1091 kumpf           1.1      	cimconfig -s enableAuthentication=true -p
1092 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1093                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
1094 kumpf           1.1      
1095                          EnableAuthorization:
1096 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1097 kumpf           1.10     	cimconfig -s enableNamespaceAuthorization=true -p
1098 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1099                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
1100 kumpf           1.1      
1101                          EnableSSL:
1102 kumpf           1.21     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1103                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
1104 kumpf           1.1      
1105 jim.wunderlich  1.61     #
1106                          # ConfigureUsers
1107                          #
1108                          # The server must be running prior to invoking this rule
1109                          #
1110 kumpf           1.1      ConfigureUsers:
1111                          ifndef PEGASUS_PAM_AUTHENTICATION
1112 jim.wunderlich  1.62     	-cimuser -l
1113 jim.wunderlich  1.61     	-cimuser -a -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS)
1114 kumpf           1.1      endif
1115                          
1116 jim.wunderlich  1.61     #
1117                          # ConfigureAuthorizations rule
1118                          #
1119                          # The server must be running prior to invoking this rule
1120                          #
1121 kumpf           1.1      ConfigureAuthorizations:
1122 jim.wunderlich  1.59     	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/cimv2 -R -W
1123                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/cimv2 -R -W
1124                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_Internal -R -W
1125                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_InterOp -R -W
1126                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/benchmark -R -W
1127                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/sampleprovider -R -W
1128                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/static -R -W
1129                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/SampleProvider -R -W
1130                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root -R -W
1131                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1 -R -W
1132                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test2 -R -W
1133                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test3 -R -W
1134                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test4 -R -W
1135                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test5 -R -W
1136                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test6 -R -W
1137                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2 -R -W
1138                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3 -R -W
1139                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4 -R -W
1140                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5 -R -W
1141                          	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5/test6 -R -W
1142 kumpf           1.1      
1143 jim.wunderlich  1.41     startcimWithoutSSL: FORCE
1144                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
1145 kumpf           1.19     	$(SLEEP) 5
1146 kumpf           1.1      
1147 jim.wunderlich  1.41     startcimWithSSL: FORCE
1148                          	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=false enableHttpsConnection=true"
1149 kumpf           1.19     	$(SLEEP) 5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2