#//%LICENSE////////////////////////////////////////////////////////////////
#//
#// Licensed to The Open Group (TOG) under one or more contributor license
#// agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
#// this work for additional information regarding copyright ownership.
#// Each contributor licenses this file to you under the OpenPegasus Open
#// Source License; you may not use this file except in compliance with the
#// License.
#//
#// Permission is hereby granted, free of charge, to any person obtaining a
#// copy of this software and associated documentation files (the "Software"),
#// to deal in the Software without restriction, including without limitation
#// the rights to use, copy, modify, merge, publish, distribute, sublicense,
#// and/or sell copies of the Software, and to permit persons to whom the
#// Software is furnished to do so, subject to the following conditions:
#//
#// The above copyright notice and this permission notice shall be included
#// in all copies or substantial portions of the Software.
#//
#// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
#// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
#// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
#// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
#// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
#// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
#// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#//
#//////////////////////////////////////////////////////////////////////////
ROOT = ../../../..

DIR = Clients/wbemexec/tests

include $(ROOT)/mak/config.mak
include $(ROOT)/mak/test.mak

RESULTFILE =  $(TMP_DIR)/result
ifdef PEGASUS_HAS_SSL
MASTERRESULTFILE = $(ROOT)/src/$(DIR)/result.master
else
MASTERRESULTFILE = $(ROOT)/src/$(DIR)/result.master.nossl
endif


##
## If ordering defects, use DIFFSORT rules
##
ifeq ($(PEGASUS_ENABLE_SORTED_DIFF),true)
COMPARE_RESULT_FILES = $(COMPARERESULTS_DS)
else
COMPARE_RESULT_FILES = $(COMPARERESULTS)
endif

.PHONY: FORCE

clean:
	@$(RM) $(RESULTFILE)
tests:

general:

poststarttests: poststarttests1
	@$(MAKE) -i -s poststarttests_ignoreerror
	$(COMPARE_RESULT_FILES)
	@$(ECHO) +++ Test passed +++
	@$(RM) $(RESULTFILE)


poststarttests1: FORCE
	@$(RM) $(RESULTFILE)
ifeq ($(OS),zos)
	@$(RM) ./emptyfile
	@touch $(RESULTFILE)
	@touch ./emptyfile
	@chtag -tc IBM-1047 $(RESULTFILE)
	@chtag -tc IBM-1047 ./emptyfile
	@chtag -tc IBM-1047 ./cimreq*.xml
endif	
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "Valid cases:" >> $(RESULTFILE)
	@$(ECHO) "All options specified except hostname" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -p 5988 -v 1.1 -m M-POST -t 10000 -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p 5988 -v 1.1 -m M-POST -t 10000 -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) ./cimrequest.xml >>  $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec --help >>  $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec --version >>  $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "All options specified except hostname" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -p5988 -v1.1 -mM-POST -t10000 -u(PEGASUS_TEST_USER_ID) -w(PEGASUS_TEST_USER_PASS) ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p5988 -v1.1 -mM-POST -t10000 -u$(PEGASUS_TEST_USER_ID) -w$(PEGASUS_TEST_USER_PASS) ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "No options specified" >> $(RESULTFILE)
	@$(ECHO) "wbemexec < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec <  ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "Test cases for HTTP version option:" >> $(RESULTFILE)
	@$(ECHO) "-v 1.0 option specified" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -v 1.0 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -v 1.0 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "-v 1.1 option specified" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -v 1.1 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -v 1.1 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "Test cases for HTTP method option:" >> $(RESULTFILE)
	@$(ECHO) "-m POST option specified" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -m POST ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -m POST ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "-m M-POST option specified" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -m M-POST ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -m M-POST ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "-m POST -v 1.0 specified" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -v 1.0 -m POST ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -v 1.0 -m POST ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "-m POST -v 1.1 specified" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -v 1.1 -m POST ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -v 1.1 -m POST ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "-m M-POST -v 1.1 specified" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -v 1.1 -m M-POST ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -v 1.1 -m M-POST ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "Test cases for timeout option:" >> $(RESULTFILE)
	@$(ECHO) "maximum valid timeout value (milliseconds)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -t 4294967295 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -t 4294967295 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)


poststarttests_ignoreerror:
	@$(ECHO) "Error cases:" >> $(RESULTFILE)
	@$(ECHO) "Missing argument for -h option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -h < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -h < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Missing argument for -p option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -p < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Missing argument for -v option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -v < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -v < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Missing argument for -m option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -m < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -m < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Missing argument for -t option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -t < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -t < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Missing argument for -u option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Missing argument for -w option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -w < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -w < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Missing argument for -d option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -d < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -d < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Non-option argument -" >> $(RESULTFILE)
	@$(ECHO) "wbemexec - < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec - < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Non-option argument -" >> $(RESULTFILE)
	@$(ECHO) "wbemexec - ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec - ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Empty string non-option argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec \"\" < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec "" < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Empty string non-option argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec \"\" ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec "" ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid option -x" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -x < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -x < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid option -x" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) -x < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) -x < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid option -x" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -x -w (PEGASUS_TEST_USER_PASS) < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -x -w $(PEGASUS_TEST_USER_PASS) < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid option -x" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -x foo < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -x foo < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid option -x" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -xfoo < ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -xfoo < ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Duplicate -h option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -h chacha -h cancan ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -h chacha -h cancan ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Duplicate -p option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -p 5988 -p 81 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p 5988 -p 81 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Duplicate -v option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -v 1.0 -v 1.1 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -v 1.0 -v 1.1 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Duplicate -m option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -m POST -m M-POST ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -m POST -m M-POST ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Duplicate -t option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -t 25000 -t 30000 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -t 25000 -t 30000 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Duplicate -u option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -u (PEGASUS_TEST_USER_ID)2 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -u $(PEGASUS_TEST_USER_ID)2 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Duplicate -w option" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -w (PEGASUS_TEST_USER_PASS) -w (PEGASUS_TEST_USER_PASS)2 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -w $(PEGASUS_TEST_USER_PASS) -w $(PEGASUS_TEST_USER_PASS)2 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Multiple inputfilepath arguments" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimrequest.xml ./cimrequest2.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimrequest.xml ./cimrequest2.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid hostName argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -h nohost ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -h nohost ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid number format for portNumber argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -p xxx ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p xxx ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid number format for portNumber argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -p 1.1 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p 1.1 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid number format for portNumber argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -p 1E+1 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p 1E+1 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Out of range portNumber argument" >> $(RESULTFILE)
	@$(ECHO) "getoopt behavior differs from other implementations of getopt:" >> $(RESULTFILE)
	@$(ECHO) "getoopt reports missing required value for flag p" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -p -5988 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p -5988 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Out of range portNumber argument" >> $(RESULTFILE)
	@$(ECHO) "getoopt behavior differs from other implementations of getopt:" >> $(RESULTFILE)
	@$(ECHO) "getoopt reports missing required value for flag p" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -p -1 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p -1 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Out of range portNumber argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -p 65536 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p 65536 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Maximum valid portnumber, but cimom not running on specified port" >> $(RESULTFILE)
	@$(ECHO) "The following \"failed to connect\" error is system specific and may be ignored"
	@$(ECHO) "wbemexec -p 65535 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p 65535 ./cimrequest.xml >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Minimum valid portnumber, but cimom not running on specified port" >> $(RESULTFILE)
	@$(ECHO) "The following \"failed to connect\" error is system specific and may be ignored"
	@$(ECHO) "wbemexec -p 0 ./cimrequest.xml"  >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -p 0 ./cimrequest.xml >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid (unsupported) version argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -v 0.9 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -v 0.9 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid (unsupported) method argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -m GET ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -m GET ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid combination of version and method argument (1.0 with M-POST)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -v 1.0 -m M-POST ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -v 1.0 -m M-POST ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid number format for timeout argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -t xxx ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -t xxx ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid number format for timeout argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -t 1.1 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -t 1.1 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid number format for timeout argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -t 1e-1 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -t 1e-1 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Out of range timeout argument value" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -t 0 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -t 0 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Out of range timeout argument value" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -t 4294967296 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -t 4294967296 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid user argument" >> $(RESULTFILE)
	@$(ECHO) "Works now because no authentication or authorization" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u nonuser ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u nonuser ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid password argument" >> $(RESULTFILE)
	@$(ECHO) "Works now because no authentication or authorization" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -w nonpassword ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -w nonpassword ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid debug argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -d 11 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -d 11 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid debug argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -d 22 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -d 22 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid debug argument" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -d 3 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -d 3 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid inputFilePath argument: file does not exist" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./nonfile" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./nonfile >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "No input provided" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./emptyfile" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./emptyfile >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "No input provided" >> $(RESULTFILE)
	@$(ECHO) "wbemexec < ./emptyfile" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec < ./emptyfile >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <CIM> element (no element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr01.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr01.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <CIM> element (different element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr01a.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr01a.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: invalid CIMVERSION attribute" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr01b.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr01b.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: invalid DTDVERSION attribute" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr01c.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr01c.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing CIMVERSION attribute" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr01d.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr01d.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing DTDVERSION attribute" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr01e.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr01e.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <MESSAGE> element (no element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr02.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr02.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <MESSAGE> element (different element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr02a.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr02a.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing PROTOCOLVERSION attribute" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr02b.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr02b.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <SIMPLEREQ> element (no element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr03.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr03.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <SIMPLEREQ> element (different element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr03a.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr03a.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <IMETHODCALL> or <METHODCALL> element " >> $(RESULTFILE)
	@$(ECHO) "    (no element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr04.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr04.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <IMETHODCALL> or <METHODCALL> element " >> $(RESULTFILE)
	@$(ECHO) "    (different element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr04a.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr04a.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing NAME attribute " >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr04b.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr04b.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <LOCALNAMESPACEPATH> element (no element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr05.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr05.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <LOCALNAMESPACEPATH> element (different " >> $(RESULTFILE)
	@$(ECHO) "    element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr05a.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr05a.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <NAMESPACE> element (no element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr06.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr06.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <NAMESPACE> element (different element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -u (PEGASUS_TEST_USER_ID) -w (PEGASUS_TEST_USER_PASS) < ./cimreqerr06a.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS) < ./cimreqerr06a.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing NAME attribute for NAMESPACE element" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr06b.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr06b.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: subelement other than NAMESPACE in list" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr06c.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr06c.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: subelement other than NAMESPACE in list" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr06d.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr06d.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <LOCALCLASSPATH> or <LOCALINSTANCEPATH> " >> $(RESULTFILE)
	@$(ECHO) "    element (no element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr07.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr07.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <LOCALCLASSPATH> or <LOCALINSTANCEPATH> " >> $(RESULTFILE)
	@$(ECHO) "    element (different element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr07a.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr07a.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <LOCALNAMESPACEPATH> element (no element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr08.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr08.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <LOCALNAMESPACEPATH> element " >> $(RESULTFILE)
	@$(ECHO) "    (different element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr08a.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr08a.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <NAMESPACE> element (no element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr09.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr09.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <NAMESPACE> element (different element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr09a.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr09a.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing NAME attribute for NAMESPACE element" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr09b.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr09b.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: subelement other than NAMESPACE in list" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr09c.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr09c.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: subelement other than NAMESPACE in list" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr09d.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr09d.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <CLASSNAME> element (no element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr10.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr10.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing <CLASSNAME> element (different element)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr10a.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr10a.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid XML input: missing NAME attribute for CLASSNAME element" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr10b.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr10b.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid input: input starts with neither xml declaration, nor HTTP M-POST or POST method request (GET method)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr01.http" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr01.http >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid input: input starts with neither xml declaration, nor HTTP M-POST" >> $(RESULTFILE)
	@$(ECHO) "or POST method request (missing HTTP method)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr02.http" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr02.http >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid input: input starts with neither xml declaration, nor valid HTTP" >> $(RESULTFILE)
	@$(ECHO) "M-POST or POST method request (missing HTTP URI and version) -- times out" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimreqerr11.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimreqerr11.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) "Invalid input: input starts with neither xml declaration, nor valid HTTP" >> $(RESULTFILE)
	@$(ECHO) "M-POST or POST method request. Returns: HTTP/1.1 501 Not Implemented" >> $(RESULTFILE)

defect:
	@$(ECHO) "wbemexec -t 1 ./cimreqerr03.http" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -t 1 ./cimreqerr03.http >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) " " >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
#       ATTN-SF-P3-04/02/2002: Gets a different response on Windows
	@$(ECHO) "XML request already encapsulated in HTTP M-POST request" >> $(RESULTFILE)
	@$(ECHO) "wbemexec ./cimrequest.http" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec ./cimrequest.http >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
#       ATTN-SF-P3-04/02/2002: Times out some times but gets a valid response
#	other times.
	@$(ECHO) "Multiple CIM operation request" >> $(RESULTFILE)
	@$(ECHO) "Times out -- not yet supported by CIM Server" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -t 1 ./cimrequest04.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -t 1 ./cimrequest04.xml >> $(RESULTFILE) $(REDIRECTERROR)
	@$(ECHO) "  " >> $(RESULTFILE)
	@$(ECHO) "Test cases for timeout option:" >> $(RESULTFILE)
	@$(ECHO) "minimum valid timeout value (milliseconds)" >> $(RESULTFILE)
	@$(ECHO) "wbemexec -t 1 ./cimrequest.xml" >> $(RESULTFILE)
	@$(ECHO) " " >> $(RESULTFILE)
	@wbemexec -t 1 ./cimrequest.xml >> $(RESULTFILE) $(REDIRECTERROR)

depend:

strip-license:

prepend-license:

