summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnas Nashif <nashif@intel.com>2006-11-20 18:13:18 +0000
committerAnas Nashif <nashif@intel.com>2006-11-20 18:13:18 +0000
commita9eeaebf906fdaac311be62378e8f82c66cca225 (patch)
tree94edb407fd69f251b69082f5f5736c7242475aab
parent0ff8639d03248af1174a760e7a0a0fb9c158ad99 (diff)
downloadwsmancli-a9eeaebf906fdaac311be62378e8f82c66cca225.tar.gz
wsmancli-a9eeaebf906fdaac311be62378e8f82c66cca225.tar.xz
wsmancli-a9eeaebf906fdaac311be62378e8f82c66cca225.zip
fixed tests to pass
-rwxr-xr-xtests/cunit/transfer_get.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/tests/cunit/transfer_get.c b/tests/cunit/transfer_get.c
index 8f3c65d..49c91de 100755
--- a/tests/cunit/transfer_get.c
+++ b/tests/cunit/transfer_get.c
@@ -104,21 +104,9 @@ TestData get_tests[] = {
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem",
"CreationClassName=OpenWBEM_UnitaryComputerSystem&Name=%sx",
"/s:Envelope/s:Body/s:Fault/s:Code/s:Subcode/s:Value",
- "wsman:InvalidSelectors",
- "/s:Envelope/s:Body/s:Fault/s:Detail/wsman:FaultDetail",
- "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/InvalidValue",
- 500,
- 0,
- 0
- },
- {
- "Transfer Get with all selectors but with wrong values 2.",
- "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem",
- "CreationClassName=OpenWBEM_UnitaryComputerSystemx&Name=%s",
- "/s:Envelope/s:Body/s:Fault/s:Code/s:Subcode/s:Value",
- "wsman:InvalidSelectors",
+ "wsa:DestinationUnreachable",
"/s:Envelope/s:Body/s:Fault/s:Detail/wsman:FaultDetail",
- "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/InvalidValue",
+ "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/InvalidResourceURI",
500,
0,
0
@@ -205,8 +193,6 @@ static void transfer_get_test() {
}
CU_ASSERT_STRING_EQUAL(xpd, get_tests[i].detail_value );
if (strcmp(xpd, get_tests[i].detail_value)) {
- //printf("Expected %s; returned %s\n",
- // get_tests[i].detail_value, xpd);
goto RETURN;
}