1 a.dunfey 1.17.2.1 #//%2006////////////////////////////////////////////////////////////////////////
|
2 martin 1.15 #//
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 a.dunfey 1.17.2.1 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 #// EMC Corporation; Symantec Corporation; The Open Group.
|
13 martin 1.15 #//
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 jim.wunderlich 1.16
|
32 a.dunfey 1.17.2.2 # The following are the user id's and passwords to be used by the tests.
33 # If they are not defined in the environment then they will be assigned
34 # here to the defaults. There are two user ID's and the coresponding
35 # passwords. One is for a reqular user that does not require priviledged
36 # (root) access and the other set for a user that has privileged (root) access.
37 #
38 # Use the folowing in a test that does not require privileged access
39 #
40 # PEGASUS_TEST_USER_ID
41 # PEGASUS_TEST_USER_PASS
42 #
43 # Use the following in test that requires a privileged user's access
44 #
45 # PEGASUS_TEST_PRIV_USER_ID
46 # PEGASUS_TEST_PRIV_USER_PASS
47 #
48 # Currently PEGASUS_TEST_USER_ID and PEGASUS_TEST_USER_PASS both default to
49 # guest if they are not specified within the users environment.
50 #
51 # Currently (Feb. 10, 2006) PEGASUS_TEST_PRIV_USER_ID and
52 # PEGASUS_TEST_PRIV_USER_PASS are not used and therefore they have no
53 a.dunfey 1.17.2.2 # default value. When they are taken into use it may be desirable to have
54 # a default value that will never be used to make errors when they are not
55 # assigned a valid value more meaningful. An error of the form
56 # "guestroot user does not exist" rather than "user does not exist"
57 # would make it easier to find the problem because "guestroot" could be
58 # found in the tree and determined to come from the default value of
59 # PEGASUS_TEST_PRIVUSER_ID. JR Wunderlich Feb 10, 2006
60 #
61
62 ifndef PEGASUS_TEST_USER_ID
63 PEGASUS_TEST_USER_ID=guest
64 endif
65
66 ifndef PEGASUS_TEST_USER_PASS
67 PEGASUS_TEST_USER_PASS=guest
68 endif
69
70 # ifndef PEGASUS_TEST_PRIV_USER_ID
71 # PEGASUS_TEST_PRIV_USER_ID=guestroot
72 # endif
73
74 a.dunfey 1.17.2.2 # ifndef PEGASUS_TEST_PRIV_USER_PASS
75 # PEGASUS_TEST_PRIV_USER_PASS=guestroot
76 # endif
77
78
79
80
|
81 kumpf 1.1 ifeq ($(PEGASUS_PLATFORM), WIN32_IX86_MSVC)
|
82 david.dillard 1.11 STRIPCRS = stripcrs $(RESULTFILE) $(MASTERRESULTFILE)
|
83 kumpf 1.1 else
|
84 gs.keenan 1.17 ifeq ($(PEGASUS_OS_TYPE), VMS)
85 STRIPCRS = stripcrs $(RESULTFILE) $(MASTERRESULTFILE)
86 else
87 STRIPCRS =
88 endif
|
89 kumpf 1.1 endif
90
|
91 gs.keenan 1.17 REDIRECTERROR = 2>&1
92
|
93 jim.wunderlich 1.13
|
94 kumpf 1.1 ifdef DIFF
|
95 david.dillard 1.11 COMPARERESULTS = @$(DIFF) $(MASTERRESULTFILE) $(RESULTFILE)
|
96 jim.wunderlich 1.13 COMPARERESULTS_DS = @$(call DIFFSORT,$(MASTERRESULTFILE),$(RESULTFILE))
|
97 kumpf 1.1 else
|
98 david.dillard 1.11 COMPARERESULTS = @$(ECHO) "Results not compared."
|
99 jim.wunderlich 1.13 COMPARERESULTS_DS = @$(ECHO) "Results not compared."
|
100 kumpf 1.1 endif
101
|
102 kumpf 1.8 ifdef PEGASUS_TMP
|
103 david.dillard 1.11 TMP_DIR = $(subst \,/,$(PEGASUS_TMP))
|
104 kumpf 1.8 else
|
105 david.dillard 1.11 TMP_DIR = .
|
106 kumpf 1.8 endif
|
107 kumpf 1.6
|
108 kumpf 1.2 default:
109
|
110 chuck 1.10 #l10n
111 messages: $(ERROR)
|