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

 1 martin 1.17 #//%LICENSE////////////////////////////////////////////////////////////////
 2 karl   1.15 #// 
 3 martin 1.17 #// 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.17 #// 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 kumpf  1.3  include $(ROOT)/mak/test.mak
30             
31 mike   1.2  HOSTNAME =
32 kumpf  1.8  PORT =
33 mike   1.2  HTTPMETHOD = -m M-POST
34             HTTPVERSION = -v 1.1
35 jim.wunderlich 1.16 USER = -u $(PEGASUS_TEST_USER_ID)
36                     PASSWORD = -w $(PEGASUS_TEST_USER_PASS)
37 kumpf          1.7  SSL =
38 mike           1.2  
39                     XMLREQUESTS = $(foreach i, $(XMLSCRIPTS), $i.xml)
40                     XMLRESPONSES = $(XMLREQUESTS:.xml=.rsp)
41                     
42 jim.wunderlich 1.11 XMLREQUESTS_DS = $(foreach i, $(XMLSCRIPTS_DS), $i.xml)
43                     XMLRESPONSES_DS = $(XMLREQUESTS_DS:.xml=.rsp_ds)
44                     
45                     
46 david.dillard  1.13 WBEMEXECOPTIONS = $(HOSTNAME) $(PORT) $(HTTPMETHOD) $(HTTPVERSION) $(USER) $(PASSWORD) $(SSL)
47 mike           1.2  
48                     %.rsp: %.xml
49 david.dillard  1.13 	@ wbemexec $(WBEMEXECOPTIONS) $*.xml > $(TMP_DIR)/$*.rsp || cd .
50 kumpf          1.9  	@ $(DIFF) $*rspgood.xml $(TMP_DIR)/$*.rsp
51                     	@ $(RM) $(TMP_DIR)/$*.rsp
52 david.dillard  1.10 	@ $(ECHO) +++ $* passed successfully +++
53 jim.wunderlich 1.11 
54                     ##	@ $(call DIFFSORT,file_unsorted,file_sorted)
55                     
56                     %.rsp_ds: %.xml
57 david.dillard  1.13 	@ wbemexec $(WBEMEXECOPTIONS) $*.xml > $(TMP_DIR)/$*.rsp_ds || cd .
58 jim.wunderlich 1.11 	@ $(call DIFFSORT,$*rspgood.xml,$(TMP_DIR)/$*.rsp_ds)
59                     	@ $(RM) $(TMP_DIR)/$*.rsp_ds
60                     	@ $(ECHO) +++ $* passed successfully +++
61                     
62                     

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2