(file) Return to test.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

  1 martin 1.22 #//%LICENSE////////////////////////////////////////////////////////////////
  2 martin 1.15 #// 
  3 martin 1.22 #// Licensed to The Open Group (TOG) under one or more contributor license
  4             #// agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
  5             #// this work for additional information regarding copyright ownership.
  6             #// Each contributor licenses this file to you under the OpenPegasus Open
  7             #// Source License; you may not use this file except in compliance with the
  8             #// License.
  9             #// 
 10             #// Permission is hereby granted, free of charge, to any person obtaining a
 11             #// copy of this software and associated documentation files (the "Software"),
 12             #// to deal in the Software without restriction, including without limitation
 13             #// the rights to use, copy, modify, merge, publish, distribute, sublicense,
 14             #// and/or sell copies of the Software, and to permit persons to whom the
 15             #// Software is furnished to do so, subject to the following conditions:
 16             #// 
 17             #// The above copyright notice and this permission notice shall be included
 18             #// in all copies or substantial portions of the Software.
 19             #// 
 20             #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 21             #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
 22             #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 23             #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 24 martin 1.22 #// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 25             #// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 26             #// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 27             #// 
 28             #//////////////////////////////////////////////////////////////////////////
 29 jim.wunderlich 1.16 
 30 jim.wunderlich 1.19 # The following are the user id's and passwords to be used by the tests.
 31                     # If they are not defined in the environment then they will be assigned 
 32                     # here to the defaults. There are two user ID's and the coresponding 
 33                     # passwords. One is for a reqular user that does not require priviledged 
 34                     # (root) access and the other set for a user that has privileged (root) access.
 35                     #
 36                     # Use the folowing in a test that does not require privileged access
 37                     #
 38                     #        PEGASUS_TEST_USER_ID        
 39                     #        PEGASUS_TEST_USER_PASS
 40                     # 
 41                     # Use the following in test that requires a privileged user's access
 42                     #
 43                     #       PEGASUS_TEST_PRIV_USER_ID    
 44                     #       PEGASUS_TEST_PRIV_USER_PASS
 45                     #
 46                     # Currently PEGASUS_TEST_USER_ID and PEGASUS_TEST_USER_PASS both default to
 47                     # guest if they are not specified within the users environment.
 48                     #
 49                     # Currently (Feb. 10, 2006) PEGASUS_TEST_PRIV_USER_ID and 
 50                     # PEGASUS_TEST_PRIV_USER_PASS are not used and therefore they have no 
 51 jim.wunderlich 1.19 # default value. When they are taken into use it may be desirable to have 
 52                     # a default value that will never be used to make errors when they are not 
 53                     # assigned a valid value more meaningful. An error of the form 
 54                     # "guestroot user does not exist" rather than "user does not exist" 
 55                     # would make it easier to find the problem because "guestroot" could be 
 56                     # found in the tree and determined to come from the default value of 
 57                     # PEGASUS_TEST_PRIVUSER_ID.       JR Wunderlich Feb 10, 2006
 58                     #
 59                     
 60                     ifndef PEGASUS_TEST_USER_ID
 61                     PEGASUS_TEST_USER_ID=guest
 62                     endif
 63                     
 64                     ifndef PEGASUS_TEST_USER_PASS
 65                     PEGASUS_TEST_USER_PASS=guest
 66                     endif
 67                     
 68                     # ifndef PEGASUS_TEST_PRIV_USER_ID
 69                     # PEGASUS_TEST_PRIV_USER_ID=guestroot
 70                     # endif
 71                     
 72 jim.wunderlich 1.19 # ifndef PEGASUS_TEST_PRIV_USER_PASS
 73                     # PEGASUS_TEST_PRIV_USER_PASS=guestroot
 74                     # endif
 75                     
 76                     
 77                     
 78                     
 79 a.dunfey       1.20 ifeq ($(OS_TYPE),windows)
 80 david.dillard  1.11     STRIPCRS = stripcrs $(RESULTFILE) $(MASTERRESULTFILE)
 81 kumpf          1.1  else
 82 carson.hovey   1.21     ifeq  ($(OS_TYPE), vms)
 83 gs.keenan      1.17         STRIPCRS = stripcrs $(RESULTFILE) $(MASTERRESULTFILE)
 84                         else
 85                             STRIPCRS = 
 86                         endif
 87 kumpf          1.1  endif
 88                     
 89 gs.keenan      1.17 REDIRECTERROR = 2>&1
 90                     
 91 jim.wunderlich 1.13 
 92 kumpf          1.1  ifdef DIFF
 93 david.dillard  1.11     COMPARERESULTS = @$(DIFF) $(MASTERRESULTFILE) $(RESULTFILE)
 94 jim.wunderlich 1.13     COMPARERESULTS_DS = @$(call DIFFSORT,$(MASTERRESULTFILE),$(RESULTFILE))
 95 kumpf          1.1  else
 96 david.dillard  1.11     COMPARERESULTS = @$(ECHO) "Results not compared."
 97 jim.wunderlich 1.13     COMPARERESULTS_DS = @$(ECHO) "Results not compared."
 98 kumpf          1.1  endif
 99                     
100 kumpf          1.8  ifdef PEGASUS_TMP
101 david.dillard  1.11     TMP_DIR = $(subst \,/,$(PEGASUS_TMP))
102 kumpf          1.8  else
103 david.dillard  1.11     TMP_DIR = .
104 kumpf          1.8  endif
105 kumpf          1.6  
106 kumpf          1.2  default:
107                     
108 chuck          1.10 #l10n
109                     messages: $(ERROR)

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2